Docker build should fail if a shell command failed

This commit is contained in:
Tortue Torche 2021-02-08 08:36:45 +00:00
parent ef5cfd5b5c
commit 8a76c20ab8
4 changed files with 8 additions and 4 deletions

View File

@ -1,6 +1,7 @@
FROM alpine:3.10
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.10
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:9-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:9-slim
RUN apt-get update -yqq; \
RUN set -e; \
apt-get update -yqq; \
apt-get install \
ca-certificates gettext-base httpie jq -yqq; \
\