Skip to content

Commit 840fa5d

Browse files
authored
Remove pipefail option from command set (#164)
Unlike bash, sh has no "pipefail" option for set
1 parent 6e1487b commit 840fa5d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ COPY --from=comp /usr/bin/composer /usr/bin/composer
2424
# Update and install required debian packages
2525
ENV DEBIAN_FRONTEND=noninteractive
2626
RUN <<EORUN
27-
set -xeuo pipefail
27+
set -xeu
2828
apt-get update
2929
apt-get upgrade --yes
3030
apt-get install --yes --no-install-recommends \
@@ -41,7 +41,7 @@ EORUN
4141

4242
# Customize the http & php environment
4343
RUN <<EORUN
44-
set -xeuo pipefail
44+
set -xeu
4545
cp "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
4646
cat > /etc/apache2/conf-available/remoteip.conf <<EOF
4747
RemoteIPHeader X-Real-IP
@@ -74,7 +74,7 @@ EORUN
7474
ARG APP_GH_REF
7575
ARG APP_GH_ADD_SHA=false
7676
RUN <<EORUN
77-
set -xeuo pipefail
77+
set -xeu
7878
LB_TARBALL_URL="https://api.github.com/repos/LibreBooking/librebooking/tarball/${APP_GH_REF}"
7979
curl \
8080
--fail \
@@ -121,7 +121,7 @@ mkdir /var/www/html/Web/uploads/reservation
121121
EORUN
122122

123123
RUN <<EORUN
124-
set -xeuo pipefail
124+
set -xeu
125125
chown www-data:root \
126126
/var/www/html/config \
127127
/var/www/html/tpl_c \

0 commit comments

Comments
 (0)