We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04b4a83 commit c428a77Copy full SHA for c428a77
1 file changed
Dockerfile
@@ -83,7 +83,7 @@ RUN --mount=type=bind,target=. \
83
--mount=type=cache,target=/go/pkg/mod \
84
--mount=type=bind,from=osxcross,src=/osxsdk,target=/xx-sdk \
85
xx-go --wrap && \
86
- if [ "$(xx-info os)" == "darwin" ]; then export CGO_ENABLED=1; fi && \
+ if [ "$(xx-info os)" == "darwin" ]; then export CGO_ENABLED=1; export BUILD_TAGS=fsnotify,$BUILD_TAGS; fi && \
87
make build GO_BUILDTAGS="$BUILD_TAGS" DESTDIR=/out && \
88
xx-verify --static /out/docker-compose
89
0 commit comments