Apply hadolint suggestion
This commit is contained in:
parent
54218d0cab
commit
de9764ed04
@ -10,7 +10,7 @@ FROM alpine:3.18 AS runtime
|
|||||||
|
|
||||||
ARG APP
|
ARG APP
|
||||||
RUN addgroup -g 1000 -S ${APP} && adduser -u 1000 -S ${APP} -G ${APP} --home /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
|
&& chmod +x /app/entrypoint.sh
|
||||||
|
|
||||||
FROM alpine:3.18
|
FROM alpine:3.18
|
||||||
|
Loading…
Reference in New Issue
Block a user