Merge branch 'master' of github.com:ncarlier/webhookd

This commit is contained in:
Nicolas Carlier 2018-07-06 14:10:53 +00:00 committed by Nicolas Carlier
commit d9158c7ef5
2 changed files with 17 additions and 3 deletions

View File

@ -1,5 +1,15 @@
<a name=""></a>
# [](https://github.com/ncarlier/webhookd/compare/v1.2.2...v) (2018-03-21)
# [](https://github.com/ncarlier/webhookd/compare/v1.2.3...v) (2018-05-06)
<a name="1.2.3"></a>
## [1.2.3](https://github.com/ncarlier/webhookd/compare/v1.2.2...v1.2.3) (2018-05-06)
### Bug Fixes
* **docker:** add bash shell to the Docker image ([d760073](https://github.com/ncarlier/webhookd/commit/d760073))

View File

@ -35,13 +35,17 @@ ARG ARTIFACT=webhookd
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 jq
RUN apk add --no-cache git openssh-client jq bash
# Create folder structure
RUN mkdir -p /var/opt/webhookd/scripts /var/opt/webhookd/work
# Install binary and default scripts
COPY --from=builder /go/src/$REPOSITORY/$ARTIFACT/release/$ARTIFACT-linux-amd64 /usr/local/bin/$ARTIFACT
COPY --from=builder /go/src/$REPOSITORY/$ARTIFACT/scripts /opt/scripts
COPY --from=builder /go/src/$REPOSITORY/$ARTIFACT/scripts /var/opt/webhookd/scripts
COPY docker-entrypoint.sh /
# Define entrypoint
ENTRYPOINT ["/docker-entrypoint.sh"]
# Define command