Skip to content

Commit

Permalink
Fix building with dockerfiles (#1)
Browse files Browse the repository at this point in the history
* Add ech to Dockerfile.template

* Add ech to chrome Dockerfile

* Add ech to firefox dockerfile

* Add ech to ff alpine Dockerfile

* Added ech to chrome alpine Dockerfile
  • Loading branch information
LeifMessinger authored Dec 10, 2023
1 parent babcd10 commit 40017cc
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ RUN cd ${CURL_VERSION} && \
{{#firefox}}
--with-nss=/build/${NSS_VERSION}/dist/Release \
--with-nss-deprecated \
--without-zstd \
--enable-ech \
CFLAGS="-I/build/${NSS_VERSION}/dist/public/nss -I/build/${NSS_VERSION}/dist/Release/include/nspr" \
{{/firefox}}
{{#chrome}}
Expand Down Expand Up @@ -196,6 +198,8 @@ RUN cd ${CURL_VERSION} && \
{{#firefox}}
--with-nss=/build/${NSS_VERSION}/dist/Release \
--with-nss-deprecated \
--without-zstd \
--enable-ech \
CFLAGS="-I/build/${NSS_VERSION}/dist/public/nss -I/build/${NSS_VERSION}/dist/Release/include/nspr" \
{{/firefox}}
{{#chrome}}
Expand Down
4 changes: 4 additions & 0 deletions chrome/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ RUN cd ${CURL_VERSION} && \
--with-nghttp2=/build/${NGHTTP2_VERSION}/installed \
--with-brotli=/build/brotli-${BROTLI_VERSION}/build/installed \
--with-openssl=/build/boringssl/build \
--without-zstd \
--enable-ech \
LIBS="-pthread" \
CFLAGS="-I/build/boringssl/build" \
USE_CURL_SSLKEYLOGFILE=true && \
Expand Down Expand Up @@ -122,6 +124,8 @@ RUN cd ${CURL_VERSION} && \
--with-nghttp2=/build/${NGHTTP2_VERSION}/installed \
--with-brotli=/build/brotli-${BROTLI_VERSION}/build/installed \
--with-openssl=/build/boringssl/build \
--without-zstd \
--enable-ech \
LIBS="-pthread" \
CFLAGS="-I/build/boringssl/build" \
USE_CURL_SSLKEYLOGFILE=true && \
Expand Down
4 changes: 4 additions & 0 deletions chrome/Dockerfile.alpine
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ RUN cd ${CURL_VERSION} && \
--with-nghttp2=/build/${NGHTTP2_VERSION}/installed \
--with-brotli=/build/brotli-${BROTLI_VERSION}/build/installed \
--with-openssl=/build/boringssl/build \
--without-zstd \
--enable-ech \
LIBS="-pthread" \
CFLAGS="-I/build/boringssl/build" \
USE_CURL_SSLKEYLOGFILE=true && \
Expand Down Expand Up @@ -115,6 +117,8 @@ RUN cd ${CURL_VERSION} && \
--with-nghttp2=/build/${NGHTTP2_VERSION}/installed \
--with-brotli=/build/brotli-${BROTLI_VERSION}/build/installed \
--with-openssl=/build/boringssl/build \
--without-zstd \
--enable-ech \
LIBS="-pthread" \
CFLAGS="-I/build/boringssl/build" \
USE_CURL_SSLKEYLOGFILE=true && \
Expand Down
4 changes: 4 additions & 0 deletions firefox/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ RUN cd ${CURL_VERSION} && \
--with-brotli=/build/brotli-${BROTLI_VERSION}/build/installed \
--with-nss=/build/${NSS_VERSION}/dist/Release \
--with-nss-deprecated \
--without-zstd \
--enable-ech \
CFLAGS="-I/build/${NSS_VERSION}/dist/public/nss -I/build/${NSS_VERSION}/dist/Release/include/nspr" \
USE_CURL_SSLKEYLOGFILE=true && \
make && make install
Expand Down Expand Up @@ -117,6 +119,8 @@ RUN cd ${CURL_VERSION} && \
--with-brotli=/build/brotli-${BROTLI_VERSION}/build/installed \
--with-nss=/build/${NSS_VERSION}/dist/Release \
--with-nss-deprecated \
--without-zstd \
--enable-ech \
CFLAGS="-I/build/${NSS_VERSION}/dist/public/nss -I/build/${NSS_VERSION}/dist/Release/include/nspr" \
USE_CURL_SSLKEYLOGFILE=true && \
make clean && make && make install
Expand Down
4 changes: 4 additions & 0 deletions firefox/Dockerfile.alpine
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ RUN cd ${CURL_VERSION} && \
--with-brotli=/build/brotli-${BROTLI_VERSION}/build/installed \
--with-nss=/build/${NSS_VERSION}/dist/Release \
--with-nss-deprecated \
--without-zstd \
--enable-ech \
CFLAGS="-I/build/${NSS_VERSION}/dist/public/nss -I/build/${NSS_VERSION}/dist/Release/include/nspr" \
USE_CURL_SSLKEYLOGFILE=true && \
make && make install
Expand Down Expand Up @@ -106,6 +108,8 @@ RUN cd ${CURL_VERSION} && \
--with-brotli=/build/brotli-${BROTLI_VERSION}/build/installed \
--with-nss=/build/${NSS_VERSION}/dist/Release \
--with-nss-deprecated \
--without-zstd \
--enable-ech \
CFLAGS="-I/build/${NSS_VERSION}/dist/public/nss -I/build/${NSS_VERSION}/dist/Release/include/nspr" \
USE_CURL_SSLKEYLOGFILE=true && \
make clean && make && make install
Expand Down

0 comments on commit 40017cc

Please sign in to comment.