You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a number of Vapor apps that we've started adding docs to using VaporToOpenAPI. Building in Xcode works as expected, as does building on Gitlab CI. However, when trying to build in Docker on my (M1) Mac, the build fails.
I've reproduced this on the smallest possible Vapor project (using vapor new from the command line). The docker build succeeds with the bare project, but after adding VaporToOpenAPI to the package file, the build fails at the swift build step.
We have a number of Vapor apps that we've started adding docs to using VaporToOpenAPI. Building in Xcode works as expected, as does building on Gitlab CI. However, when trying to build in Docker on my (M1) Mac, the build fails.
I've reproduced this on the smallest possible Vapor project (using
vapor new
from the command line). The docker build succeeds with the bare project, but after adding VaporToOpenAPI to the package file, the build fails at theswift build
step.Package.swift
Docker command:
docker build -t crash-test:latest .
Dockerfile used is the standard template provided by the Vapor project
Excerpt from the build log is below:
The text was updated successfully, but these errors were encountered: