mirror of
https://gitea.invidious.io/iv-org/litespeed-quic.git
synced 2024-08-15 00:53:43 +00:00
Update docker build.
This commit is contained in:
parent
c8cb6aa3e2
commit
e8a78e300e
1 changed files with 11 additions and 7 deletions
18
Dockerfile
18
Dockerfile
|
@ -1,13 +1,17 @@
|
|||
FROM ubuntu:16.04
|
||||
FROM ubuntu:20.04
|
||||
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y build-essential git cmake software-properties-common \
|
||||
apt-get install -y apt-utils build-essential git cmake software-properties-common \
|
||||
zlib1g-dev libevent-dev
|
||||
|
||||
RUN add-apt-repository ppa:gophers/archive && \
|
||||
RUN add-apt-repository ppa:longsleep/golang-backports && \
|
||||
apt-get update && \
|
||||
apt-get install -y golang-1.9-go && \
|
||||
cp /usr/lib/go-1.9/bin/go* /usr/bin/.
|
||||
apt-get install -y golang-1.21-go && \
|
||||
cp /usr/lib/go-1.21/bin/go* /usr/bin/.
|
||||
|
||||
ENV GOROOT /usr/lib/go-1.21
|
||||
|
||||
RUN mkdir /src
|
||||
WORKDIR /src
|
||||
|
@ -15,9 +19,9 @@ WORKDIR /src
|
|||
RUN mkdir /src/lsquic
|
||||
COPY ./ /src/lsquic/
|
||||
|
||||
RUN git clone https://boringssl.googlesource.com/boringssl && \
|
||||
RUN git clone https://github.com/google/boringssl.git && \
|
||||
cd boringssl && \
|
||||
git checkout a2278d4d2cabe73f6663e3299ea7808edfa306b9 && \
|
||||
git checkout 9fc1c33e9c21439ce5f87855a6591a9324e569fd && \
|
||||
cmake . && \
|
||||
make
|
||||
|
||||
|
|
Loading…
Reference in a new issue