Skip to content

Commit

Permalink
fix: force curl to fail on error (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
xoxys authored Jun 21, 2022
1 parent 4346920 commit a084f0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ ADD overlay/ /
RUN addgroup --gid 101 --system mongodb && \
adduser --system --disabled-password --no-create-home --uid 101 --home "${MONGO_DATA_DIR}" --shell /sbin/nologin --ingroup mongodb --gecos mongodb mongodb && \
apt-get update && apt-get install -y wget curl gnupg2 procps apt-transport-https ca-certificates && \
curl -SsL -o /usr/local/bin/gomplate "https://github.com/hairyhenderson/gomplate/releases/download/${GOMPLATE_VERSION}/gomplate_linux-amd64-slim" && \
curl -SsL "https://github.com/owncloud-ops/container-library/releases/download/${CONTAINER_LIBRARY_VERSION}/container-library.tar.gz" | tar xz -C / && \
curl -SsfL -o /usr/local/bin/gomplate "https://github.com/hairyhenderson/gomplate/releases/download/${GOMPLATE_VERSION}/gomplate_linux-amd64-slim" && \
curl -SsfL "https://github.com/owncloud-ops/container-library/releases/download/${CONTAINER_LIBRARY_VERSION}/container-library.tar.gz" | tar xz -C / && \
chmod 755 /usr/local/bin/gomplate && \
MONGO_VERSION=${MONGO_RAW_VERSION%.*} && \
echo "Setup MongoDB 'v$MONGO_VERSION'" && \
Expand Down

0 comments on commit a084f0e

Please sign in to comment.