Skip to content
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

Commit 4e8aae3

Browse files
committed
nginx build: dont treat warnings as errors
Signed-off-by: Sahil Yeole <[email protected]>
1 parent 301fd81 commit 4e8aae3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ RUN wget http://nginx.org/download/nginx-1.11.2.tar.gz && \
3131
tar -xzvf nginx-1.11.2.tar.gz && \
3232
git clone https://github.com/openresty/echo-nginx-module.git && \
3333
cd nginx-1.11.2 && \
34-
./configure --prefix=/opt/nginx --add-module=../echo-nginx-module && \
34+
CFLAGS="-Wno-implicit-fallthrough" ./configure --prefix=/opt/nginx --add-module=../echo-nginx-module && \
3535
make -j2 && \
3636
make install
3737

0 commit comments

Comments
 (0)