Docker build should fail if a shell command failed

This commit is contained in:
Tortue Torche 2020-07-08 14:44:08 +02:00
parent 19436c2ca5
commit 111dd9c42b
4 changed files with 8 additions and 4 deletions

View File

@ -1,6 +1,7 @@
FROM alpine:3.12
RUN apk add --no-cache \
RUN set -e; \
apk add --no-cache \
bash ca-certificates gettext jq \
py3-pip python3-dev libc-dev libffi-dev openssl-dev gcc make; \
\

View File

@ -1,6 +1,7 @@
FROM alpine:3.12
RUN apk add --no-cache \
RUN set -e; \
apk add --no-cache \
bash ca-certificates gettext httpie jq
ENV LANG="en_US.UTF-8" \

View File

@ -1,6 +1,7 @@
FROM debian:10-slim
RUN apt-get update -yqq; \
RUN set -e; \
apt-get update -yqq; \
apt-get install \
ca-certificates gettext-base httpie jq curl -yqq; \
\

View File

@ -1,6 +1,7 @@
FROM debian:10-slim
RUN apt-get update -yqq; \
RUN set -e; \
apt-get update -yqq; \
apt-get install \
ca-certificates gettext-base httpie jq -yqq; \
\