feat(docker): add git and ssh client inside the Docker image

This commit is contained in:
Nicolas Carlier 2018-01-05 14:37:50 +00:00
parent d7b65e68ae
commit 10b82d67a1
2 changed files with 7 additions and 1 deletions

View File

@ -34,6 +34,12 @@ ARG ARTIFACT=webhookd
# Fix lib dep
RUN mkdir /lib64 && ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2
# Install deps
RUN apk add --no-cache git openssh-client
# Install binary
COPY --from=builder /go/src/$REPOSITORY/$ARTIFACT/release/$ARTIFACT-linux-amd64 /usr/local/bin/$ARTIFACT
# Define command
CMD webhookd

View File

@ -26,7 +26,7 @@ $ docker run -d --name=webhookd \
--env-file .env \
-v ${PWD}/scripts:/var/opt/webhookd/scripts \
-p 8080:8080 \
ncarlier/webhookd webhookd
ncarlier/webhookd
```
Check the provided environment file [.env](.env) for details.