Skip to content

Commit 267d077

Browse files
committed
nginx-ssl-ja3: fix Dockerfile
1 parent 15abfc1 commit 267d077

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docker/debian-nginx-ssl-ja3/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,7 @@ RUN git clone https://github.com/openresty/test-nginx.git
8888
RUN cd test-nginx/ && cpanm .
8989

9090
# Configure, make and install
91-
RUN export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
92-
RUN ./auto/configure --add-module=/build/nginx-ssl-ja3 --with-http_ssl_module --with-stream_ssl_module --with-debug --with-stream --with-cc-opt="-fsanitize=address -O -fno-omit-frame-pointer" --with-ld-opt="-Wl,-E -lasan"
91+
RUN ./auto/configure --add-module=/build/nginx-ssl-ja3 --with-http_ssl_module --with-stream_ssl_module --with-stream --with-debug --with-ld-opt="-L/usr/local/lib -Wl,-E"
9392
RUN make install
9493

9594
# Install files
@@ -111,5 +110,7 @@ RUN echo '' | tee -a /root/.bashrc
111110
RUN echo 'export ASAN_OPTIONS=symbolize=1' | tee -a /root/.bashrc
112111
RUN echo 'export export ASAN_SYMBOLIZER_PATH=/usr/bin/llvm-symbolizer' | tee -a /root/.bashrc
113112
RUN echo '' | tee -a /root/.bashrc
114-
RUN echo 'TO TEST RUN:\n nginx &\n openssl s_client -connect 127.0.0.1:12345 -cipher "AES128-SHA" -curves secp521r1' | tee -a /build/TEST.README
113+
114+
RUN echo 'TO COMPILE RUN:\n cd nginx\n ASAN_OPTIONS=symbolize=1 ./auto/configure --add-module=/build/nginx-ssl-ja3 --with-http_ssl_module --with-stream_ssl_module --with-debug --with-stream --with-cc-opt="-fsanitize=address -O -fno-omit-frame-pointer" --with-ld-opt="-L/usr/local/lib -Wl,-E -lasan"\n make install' | tee -a /build/COMPILE.ASAN.README
115+
RUN echo 'TO TEST RUN:\n nginx &\n openssl s_client -connect 127.0.0.1:12345 -cipher "AES128-SHA" -curves secp521r1' | tee -a /build/TEST.README
115116

0 commit comments

Comments
 (0)