diff --git a/Dockerfile b/Dockerfile index 1ae3e7f..5917b3c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,12 @@ FROM alpine:3.6 -COPY init.sh / RUN apk add --update git openssh RUN addgroup -g 1000 -S git && \ adduser -u 1000 -S git -G git +ADD [--chown=git] init.sh / + RUN mkdir /home/git/.ssh/ && \ chown git /home/git/.ssh && \ mkdir /repository && \