Remove USER directive from dockerfile.

Seems to clash with implicit in after out, since the target volume
is owned by root.
This commit is contained in:
redxef 2022-11-21 20:56:07 +01:00
parent e5c04511b2
commit 958ab1b8db
Signed by: redxef
GPG key ID: 7DAC3AA211CBD921

View file

@ -3,6 +3,5 @@ FROM alpine
RUN apk --no-cache add bash openssh-client jq gettext \
&& adduser --no-create-home --uid 1000 -D user \
&& mkdir -p /opt/resource/
USER 1000:1000
WORKDIR /opt/resource/
COPY src/ /opt/resource/