Made changes to CGO build process for newever Shuffle version

This commit is contained in:
frikky
2022-12-06 16:49:27 +00:00
committed by GitHub
parent 23c0d7e2ac
commit 4630c4a0ac
3 changed files with 66 additions and 135 deletions
+3 -1
View File
@@ -15,8 +15,10 @@ ADD ./app_sdk/app_base.py /app_sdk
ADD ./app_gen /app_gen
RUN go get -v
RUN go mod tidy
RUN go clean -modcache
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o webapp .
RUN CGO_ENABLED=1 GOOS=linux go build -a -installsuffix cgo -o webapp .
# Certificate build - gets required certs
FROM alpine:latest as certs