File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,10 +23,9 @@ COPY --from=comp /usr/bin/composer /usr/bin/composer
2323
2424# Update and install required debian packages
2525ENV DEBIAN_FRONTEND=noninteractive
26- SHELL ["/bin/bash" , "-o" , "pipefail" , "-c" ]
2726# hadolint ignore=DL3008 # 'Pin versions in apt get install'
28- RUN <<EORUN
29- set -xeu
27+ RUN <<EORUN bash
28+ set -xeuo pipefail
3029apt-get update
3130apt-get upgrade --yes
3231apt-get install --yes --no-install-recommends \
@@ -42,8 +41,8 @@ rm -rf /var/lib/apt/lists/*
4241EORUN
4342
4443# Customize the http & php environment
45- RUN <<EORUN
46- set -xeu
44+ RUN <<EORUN bash
45+ set -xeuo pipefail
4746cp "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
4847cat > /etc/apache2/conf-available/remoteip.conf <<EOF
4948RemoteIPHeader X-Real-IP
7574# Get and customize librebooking
7675ARG APP_GH_REF
7776ARG APP_GH_ADD_SHA=false
78- RUN <<EORUN
79- set -xeu
77+ RUN <<EORUN bash
78+ set -xeuo pipefail
8079LB_TARBALL_URL="https://api.github.com/repos/LibreBooking/librebooking/tarball/${APP_GH_REF}"
8180curl \
8281 --fail \
You can’t perform that action at this time.
0 commit comments