Skip to content

Commit 06e601b

Browse files
Include git support in docker container
1 parent 7f324dd commit 06e601b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Dockerfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,12 @@ RUN apk --update add \
44
ca-certificates \
55
bash \
66
jq \
7-
oniguruma \
8-
curl
7+
curl \
8+
git
9+
10+
# can't `git pull` unless we set these
11+
RUN git config --global user.email "git@localhost" && \
12+
git config --global user.name "git"
913

1014
ADD assets/ /opt/resource/
1115
RUN chmod +x /opt/resource/*

0 commit comments

Comments
 (0)