Skip to content
Snippets Groups Projects
Verified Commit 8512463d authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

fix: correct chmod of binary in container

parent 95d83b2f
No related branches found
No related tags found
No related merge requests found
Pipeline #2713 passed
...@@ -22,8 +22,8 @@ RUN go build -o app . ...@@ -22,8 +22,8 @@ RUN go build -o app .
FROM alpine:3.15 FROM alpine:3.15
RUN apk --no-cache add imagemagick RUN apk --no-cache add imagemagick
COPY --from=builder /go/src/app /app
RUN addgroup -g 1000 -S app && \ RUN addgroup -g 1000 -S app && \
adduser -u 1000 -G app -S app adduser -u 1000 -G app -S app
COPY --from=builder /go/src/app /
USER app USER app
ENTRYPOINT ["/app"] ENTRYPOINT ["/app"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment