File tree 1 file changed +8
-2
lines changed
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -3,11 +3,17 @@ FROM rust:1.74.1-alpine3.18 as build
3
3
ARG QUICHE_VERSION=0.20.0
4
4
ARG CURL_VERSION=curl-8_5_0
5
5
6
- WORKDIR /src
6
+ ARG CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
7
+
8
+ RUN sed -i "s|v3.18|v3.19|g" /etc/apk/repositories && \
9
+ apk add --no-cache --upgrade apk-tools && \
10
+ apk upgrade --available && \
11
+ sync
12
+
7
13
RUN apk add --no-cache ca-certificates git build-base cmake autoconf automake libtool nghttp2-dev nghttp2-static zlib-dev zlib-static && \
8
14
git clone --recursive --branch "$QUICHE_VERSION" https://github.com/cloudflare/quiche /src/quiche && \
9
15
cd /src/quiche && \
10
- CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse cargo build --package quiche --release --features ffi,pkg-config-meta,qlog && \
16
+ cargo build --package quiche --release --features ffi,pkg-config-meta,qlog && \
11
17
mkdir -vp /src/quiche/quiche/deps/boringssl/src/lib && \
12
18
ln -vnf $(find target/release -name libcrypto.a -o -name libssl.a) quiche/deps/boringssl/src/lib && \
13
19
git clone --recursive --branch "$CURL_VERSION" https://github.com/curl/curl /src/curl && \
You can’t perform that action at this time.
0 commit comments