Skip to content

Commit

Permalink
Apply hadolint suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
reneleonhardt committed Oct 31, 2023
1 parent 54218d0 commit de9764e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ FROM alpine:3.18 AS runtime

ARG APP
RUN addgroup -g 1000 -S ${APP} && adduser -u 1000 -S ${APP} -G ${APP} --home /app \
&& echo -e "#!/bin/sh\nexec /usr/local/bin/${APP} \$@" > /app/entrypoint.sh \
&& printf "#!/bin/sh\nexec /usr/local/bin/%s \$@" "${APP}" > /app/entrypoint.sh \
&& chmod +x /app/entrypoint.sh

FROM alpine:3.18
Expand Down

0 comments on commit de9764e

Please sign in to comment.