Skip to content

Commit

Permalink
Fix docker permissions of entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
milot-mirdita committed Sep 5, 2024
1 parent 1c194e9 commit c1e3b0a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ RUN apt-get update && apt-get install -y \

COPY --from=builder /opt/build/${APP}_arch /opt/build/${APP}_sse2 /opt/build/${APP}_avx2 /usr/local/bin/
ADD util/${APP}_wrapper.sh /usr/local/bin/entrypoint
RUN chmod +x /usr/local/bin/entrypoint
RUN if [ "$TARGETARCH" = "arm64" ]; then rm -f /usr/local/bin/entrypoint; ln -s /usr/local/bin/${APP}_arch /usr/local/bin/entrypoint; fi

ENTRYPOINT ["/usr/local/bin/entrypoint"]
Expand Down

0 comments on commit c1e3b0a

Please sign in to comment.