Created
June 11, 2020 00:27
-
-
Save hnakamur/720a818b574c5470557983e389d9bc27 to your computer and use it in GitHub Desktop.
Dockefile to build nginx-quic with BoringSSL on Ubuntu 20.04 LTS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:20.04 | |
RUN apt-get update \ | |
&& DEBIAN_FRONTEND=noninteractive apt-get -y install git mercurial build-essential cmake ninja-build golang-go zlib1g-dev libpcre3-dev | |
RUN git clone https://github.com/google/boringssl \ | |
&& cd boringssl \ | |
&& mkdir build \ | |
&& cd build \ | |
&& cmake -GNinja .. \ | |
&& ninja | |
RUN hg clone https://hg.nginx.org/nginx-quic \ | |
&& cd nginx-quic \ | |
&& hg update quic \ | |
&& ./auto/configure \ | |
--with-debug \ | |
--with-http_v3_module \ | |
--with-cc-opt="-I../boringssl/include" \ | |
--with-ld-opt="-L../boringssl/build/ssl \ | |
-L../boringssl/build/crypto" \ | |
&& make | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I also confirmed this with replacing
FROM ubuntu:20.04
toFROM ubuntu:18.04