concourse-ssh-resource/Dockerfile
redxef 958ab1b8db
Remove USER directive from dockerfile.
Seems to clash with implicit in after out, since the target volume
is owned by root.
2022-11-21 20:56:07 +01:00

7 lines
195 B
Docker

FROM alpine
RUN apk --no-cache add bash openssh-client jq gettext \
&& adduser --no-create-home --uid 1000 -D user \
&& mkdir -p /opt/resource/
WORKDIR /opt/resource/
COPY src/ /opt/resource/