Skip to content

Commit

Permalink
Fix permission entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
amacedoo committed Oct 1, 2024
1 parent 3b764b4 commit c4ef05c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@
FROM checkmarx/ast-cli:2.2.8@sha256:6bdb2d0b18246ca1a269de2860938313ea14ca2d6e443c953c84fbac9ee5df85

# Copy the entrypoint script and properties used for the action
COPY --chmod=500 entrypoint.sh /app/entrypoint.sh
COPY --chmod=500 cleanup.sh /app/cleanup.sh
COPY entrypoint.sh /app/entrypoint.sh
COPY cleanup.sh /app/cleanup.sh

RUN chmod +x /app/entrypoint.sh \
&& chmod +x /app/cleanup.sh

# Docker actions must be run by the default Docker user (root).
USER root

0 comments on commit c4ef05c

Please sign in to comment.