diff --git a/backend/Dockerfile b/backend/Dockerfile index 14d9137c..d203ed78 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -24,7 +24,7 @@ RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o webapp . FROM alpine:latest as certs RUN apk --update add ca-certificates -from scratch +FROM alpine:3.12 COPY --from=builder /app/ /app COPY --from=builder /app_sdk/ /app_sdk diff --git a/functions/onprem/orborus/Dockerfile b/functions/onprem/orborus/Dockerfile index 1a15a2e6..8e54c8a0 100644 --- a/functions/onprem/orborus/Dockerfile +++ b/functions/onprem/orborus/Dockerfile @@ -8,7 +8,7 @@ RUN go get github.com/docker/docker/api/types github.com/docker/docker/api/types RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o orborus . -from scratch +FROM alpine:3.12 COPY --from=builder /app/ / CMD ["./orborus"]