Skip to content

Commit ca94ea2

Browse files
author
Aaron Schlesinger
committed
fix(Dockerfile): move GITHOME and GITUSER env vars to the top of the Dockerfile
the change in this PR actually caught this issue!
1 parent 8deb514 commit ca94ea2

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

rootfs/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
FROM alpine:3.3
22

3+
# install git and configure gituser
4+
ENV GITHOME /home/git
5+
ENV GITUSER git
6+
37
# install common packages
48
RUN apk add --update-cache \
59
bash \
@@ -24,9 +28,6 @@ RUN mkdir -p /var/run/sshd && rm -rf /etc/ssh/ssh_host* \
2428

2529
COPY . /
2630

27-
# install git and configure gituser
28-
ENV GITHOME /home/git
29-
ENV GITUSER git
3031
# this is so the minio client (https://github.com/minio/mc) works properly
3132
ENV DOCKERIMAGE=1
3233
ENV DEIS_RELEASE 2.0.0-dev

0 commit comments

Comments
 (0)