mirror of
https://gitlab.com/psuapp/psu.git
synced 2024-08-30 18:12:34 +00:00
Docker build should fail if a shell command failed
This commit is contained in:
parent
19436c2ca5
commit
111dd9c42b
@ -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; \
|
||||
\
|
||||
|
@ -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" \
|
||||
|
@ -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; \
|
||||
\
|
||||
|
@ -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; \
|
||||
\
|
||||
|
Loading…
Reference in New Issue
Block a user