Skip to content

Commit 0028f94

Browse files
author
Ahmad Iqbal Ali
authored
fix file ownership (#5)
1 parent 947e04a commit 0028f94

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
FROM alpine:3.6
22

3-
COPY init.sh /
43
RUN apk add --update git openssh
54

65
RUN addgroup -g 1000 -S git && \
76
adduser -u 1000 -S git -G git
87

8+
ADD [--chown=git] init.sh /
9+
910
RUN mkdir /home/git/.ssh/ && \
1011
chown git /home/git/.ssh && \
1112
mkdir /repository && \

0 commit comments

Comments
 (0)