Skip to content

Commit

Permalink
Merge pull request #48 from WadeBarnes/master
Browse files Browse the repository at this point in the history
Revert "Update Docker file to ADD to curl, build issue"
  • Loading branch information
WadeBarnes authored Apr 1, 2020
2 parents 8263322 + 9129bdf commit cf10cdd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ COPY backup.* /

COPY webhook-template.json /

USER root

# ========================================================================================================
# Install go-crond (from https://github.com/BCDevOps/go-crond)
# - Adds some additional logging enhancements on top of the upstream project;
Expand All @@ -24,7 +22,9 @@ USER root
# --------------------------------------------------------------------------------------------------------
ARG SOURCE_REPO=BCDevOps
ARG GOCROND_VERSION=0.6.3
RUN curl https://github.com/$SOURCE_REPO/go-crond/releases/download/$GOCROND_VERSION/go-crond-64-linux -s -o /usr/bin/go-crond
ADD https://github.com/$SOURCE_REPO/go-crond/releases/download/$GOCROND_VERSION/go-crond-64-linux /usr/bin/go-crond

USER root

RUN chmod ug+x /usr/bin/go-crond
# ========================================================================================================
Expand Down

0 comments on commit cf10cdd

Please sign in to comment.