-
-
Save bendo01/090bddb279146489afdc95c85ea51a8d 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