Skip to content

Commit

Permalink
hotfix: broken user/group setting in production stage
Browse files Browse the repository at this point in the history
  • Loading branch information
mircea-pavel-anton committed Aug 28, 2024
1 parent 1b7baab commit 97575ab
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions containers/taskfile/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,7 @@ RUN goreleaser build --single-target --clean --verbose --output=/go/task/dist/ta
# PRODUCTION STAGE
# =================================================================================================
FROM scratch
USER nobody:nogroup
USER 8675:8675
COPY --from=builder --chmod=555 /go/task/dist/task /task
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
ENTRYPOINT ["/task"]

ARG VERSION
LABEL org.opencontainers.image.title="Taskfile"
LABEL org.opencontainers.image.description="Task runner / simpler Make alternative written in Go"
LABEL org.opencontainers.image.version=$VERSION
LABEL org.opencontainers.image.source="https://github.com/go-task/task"
LABEL org.opencontainers.image.licenses="MIT"

0 comments on commit 97575ab

Please sign in to comment.