The provided commit message does not correspond to the described code diff. Based on the given diff, here's an appropriate commit message:

Set file permission during Docker copy action

The Dockerfile has been updated to set the file permission to 555 during the copy action for '/builddir/apg-go'. This change ensures that the appropriate user permissions are set right from when the image is built.
This commit is contained in:
Winni Neessen 2024-03-14 10:07:44 +01:00
parent c0588f952a
commit 8b1b1aedcd
Signed by: wneessen
GPG key ID: 385AC9889632126E

View file

@ -20,7 +20,7 @@ COPY ["docker-files/group", "/etc/group"]
COPY --from=builder ["/etc/ssl/certs/ca-certificates.crt", "/etc/ssl/cert.pem"]
COPY --chown=apg-go ["LICENSE", "/apg-go/LICENSE"]
COPY --chown=apg-go ["README.md", "/apg-go/README.md"]
COPY --from=builder --chown=apg-go ["/builddir/apg-go", "/apg-go/apg-go"]
COPY --from=builder --chown=apg-go --chmod=555 ["/builddir/apg-go", "/apg-go/apg-go"]
WORKDIR /apg-go
USER apg-go
ENTRYPOINT ["/apg-go/apg-go"]