Skip to content

Commit 6b03079

Browse files
committed
Make sure to treat notices as errors to match GitHub actions and server
1 parent 65acb33 commit 6b03079

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docker/php7.4/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ RUN apt-get update && apt-get install -y \
55
git \
66
&& rm -rf /var/lib/apt/lists/*
77

8+
RUN echo "error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT" > $PHP_INI_DIR/conf.d/error_reporting.ini
9+
810
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
911

1012
WORKDIR /cdb

0 commit comments

Comments
 (0)