#37 Improve backup PVC docker image user creation

This commit is contained in:
Tomasz Sęk
2019-06-26 22:51:11 +02:00
parent f75228b05d
commit 6f1b133741
4 changed files with 14 additions and 6 deletions
+11 -3
View File
@@ -1,8 +1,16 @@
FROM alpine:3.9
RUN set -x && \
addgroup -S user -g 1000 && \
adduser -S user -G user && \
ENV USER=user
ENV UID=1000
ENV GID=1000
RUN addgroup --gid "$GID" "$USER" && \
adduser \
--disabled-password \
--gecos "" \
--ingroup "$USER" \
--uid "$UID" \
"$USER" && \
apk add --no-cache bash
WORKDIR /home/user/bin
COPY bin .
+1 -1
View File
@@ -1 +1 @@
v0.0.2
v0.0.3