Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Commit

Permalink
Switch to using alpine as a base instead of alpine/git.
Browse files Browse the repository at this point in the history
This image is very out of date and contains openssl versions with
vulnerabilities.
  • Loading branch information
nathankleyn committed Nov 26, 2019
1 parent 184e08f commit eddda9d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
FROM alpine/git

COPY README.md bin/* /
FROM alpine:3.10.3

ENV GIT_REPOS_PATH=/git-repos

ENTRYPOINT /entrypoint.sh && exec crond -f

RUN apk add -U git less openssh

COPY README.md bin/* /
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ docker run \
-v ~/.ssh/id_rsa:/id_rsa \
-e PRIVATE_KEY_PATH=/id_rsa \
-e PRIVATE_KEY_PASS=“supersecretpass” \
-e GIT_REPOS=git@github.com:intenthq/gitkv.git,git@github.com:intenthq/anon.git
-e GIT_REPOS=git@github.com:intenthq/gitkv.git,git@github.com:intenthq/anon.git \
intenthq/git-puller
```

Expand Down

0 comments on commit eddda9d

Please sign in to comment.