quick fix on image/user pair for images (#961)

## Type of change

- [x] 🐛 Bugfix

## Test Plan

- [x] 💪 Manual
This commit is contained in:
Keepers 2022-09-26 19:21:26 -06:00 committed by GitHub
parent b57829cc05
commit dfdd162943
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@
# This dockerfile is configured to be run by the /corso/build/build-container.sh
# script. Using docker to build this file directly will fail.
FROM alpine:3.16
FROM ubuntu:latest
WORKDIR /
@ -11,6 +11,6 @@ ARG TARGETOS
ARG TARGETARCH
COPY ./bin/${TARGETOS}-${TARGETARCH}/corso ./
USER nonroot:nonroot
USER nobody
ENTRYPOINT ["/corso"]

View File

@ -20,10 +20,10 @@ ARG TARGETARCH
RUN GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -o /corso .
## Deploy
FROM alpine:3.16
FROM ubuntu:latest
COPY --from=build /corso /
USER nonroot:nonroot
USER nobody
ENTRYPOINT ["/corso"]