Skip to content

Commit

Permalink
Only enable ech for Chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
perklet committed Jan 4, 2024
1 parent 081600d commit f581165
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 10 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ RUN cd ${CURL_VERSION} && \
--enable-static \
--disable-shared \
--enable-websockets \
--enable-ech \
--with-nghttp2=/build/${NGHTTP2_VERSION}/installed \
--with-brotli=/build/brotli-${BROTLI_VERSION}/build/installed \
--without-zstd \
Expand All @@ -161,6 +160,7 @@ RUN cd ${CURL_VERSION} && \
CFLAGS="-I/build/${NSS_VERSION}/dist/public/nss -I/build/${NSS_VERSION}/dist/Release/include/nspr" \
{{/firefox}}
{{#chrome}}
--enable-ech \
--with-openssl=/build/boringssl/build \
LIBS="-pthread" \
CFLAGS="-I/build/boringssl/build" \
Expand Down Expand Up @@ -193,7 +193,6 @@ RUN rm -Rf /build/install
# Re-compile libcurl dynamically
RUN cd ${CURL_VERSION} && \
./configure --prefix=/build/install \
--enable-ech \
--with-nghttp2=/build/${NGHTTP2_VERSION}/installed \
--with-brotli=/build/brotli-${BROTLI_VERSION}/build/installed \
--without-zstd \
Expand All @@ -203,6 +202,7 @@ RUN cd ${CURL_VERSION} && \
CFLAGS="-I/build/${NSS_VERSION}/dist/public/nss -I/build/${NSS_VERSION}/dist/Release/include/nspr" \
{{/firefox}}
{{#chrome}}
--enable-ech \
--with-openssl=/build/boringssl/build \
LIBS="-pthread" \
CFLAGS="-I/build/boringssl/build" \
Expand Down
4 changes: 2 additions & 2 deletions chrome/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,10 @@ RUN cd ${CURL_VERSION} && \
--enable-static \
--disable-shared \
--enable-websockets \
--enable-ech \
--with-nghttp2=/build/${NGHTTP2_VERSION}/installed \
--with-brotli=/build/brotli-${BROTLI_VERSION}/build/installed \
--without-zstd \
--enable-ech \
--with-openssl=/build/boringssl/build \
LIBS="-pthread" \
CFLAGS="-I/build/boringssl/build" \
Expand All @@ -121,10 +121,10 @@ RUN rm -Rf /build/install
# Re-compile libcurl dynamically
RUN cd ${CURL_VERSION} && \
./configure --prefix=/build/install \
--enable-ech \
--with-nghttp2=/build/${NGHTTP2_VERSION}/installed \
--with-brotli=/build/brotli-${BROTLI_VERSION}/build/installed \
--without-zstd \
--enable-ech \
--with-openssl=/build/boringssl/build \
LIBS="-pthread" \
CFLAGS="-I/build/boringssl/build" \
Expand Down
4 changes: 2 additions & 2 deletions chrome/Dockerfile.alpine
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,10 @@ RUN cd ${CURL_VERSION} && \
--enable-static \
--disable-shared \
--enable-websockets \
--enable-ech \
--with-nghttp2=/build/${NGHTTP2_VERSION}/installed \
--with-brotli=/build/brotli-${BROTLI_VERSION}/build/installed \
--without-zstd \
--enable-ech \
--with-openssl=/build/boringssl/build \
LIBS="-pthread" \
CFLAGS="-I/build/boringssl/build" \
Expand All @@ -114,10 +114,10 @@ RUN rm -Rf /build/install
# Re-compile libcurl dynamically
RUN cd ${CURL_VERSION} && \
./configure --prefix=/build/install \
--enable-ech \
--with-nghttp2=/build/${NGHTTP2_VERSION}/installed \
--with-brotli=/build/brotli-${BROTLI_VERSION}/build/installed \
--without-zstd \
--enable-ech \
--with-openssl=/build/boringssl/build \
LIBS="-pthread" \
CFLAGS="-I/build/boringssl/build" \
Expand Down
2 changes: 0 additions & 2 deletions firefox/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ RUN cd ${CURL_VERSION} && \
--enable-static \
--disable-shared \
--enable-websockets \
--enable-ech \
--with-nghttp2=/build/${NGHTTP2_VERSION}/installed \
--with-brotli=/build/brotli-${BROTLI_VERSION}/build/installed \
--without-zstd \
Expand Down Expand Up @@ -115,7 +114,6 @@ RUN rm -Rf /build/install
# Re-compile libcurl dynamically
RUN cd ${CURL_VERSION} && \
./configure --prefix=/build/install \
--enable-ech \
--with-nghttp2=/build/${NGHTTP2_VERSION}/installed \
--with-brotli=/build/brotli-${BROTLI_VERSION}/build/installed \
--without-zstd \
Expand Down
2 changes: 0 additions & 2 deletions firefox/Dockerfile.alpine
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ RUN cd ${CURL_VERSION} && \
--enable-static \
--disable-shared \
--enable-websockets \
--enable-ech \
--with-nghttp2=/build/${NGHTTP2_VERSION}/installed \
--with-brotli=/build/brotli-${BROTLI_VERSION}/build/installed \
--without-zstd \
Expand Down Expand Up @@ -104,7 +103,6 @@ RUN rm -Rf /build/install
# Re-compile libcurl dynamically
RUN cd ${CURL_VERSION} && \
./configure --prefix=/build/install \
--enable-ech \
--with-nghttp2=/build/${NGHTTP2_VERSION}/installed \
--with-brotli=/build/brotli-${BROTLI_VERSION}/build/installed \
--without-zstd \
Expand Down

0 comments on commit f581165

Please sign in to comment.