Skip to content

Commit

Permalink
fix file ownership (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahmad Iqbal Ali committed Nov 13, 2018
1 parent 947e04a commit 0028f94
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -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 && \
Expand Down

0 comments on commit 0028f94

Please sign in to comment.