Skip to content

Commit 73c0b38

Browse files
authored
update alpine
Signed-off-by: Zoey <[email protected]>
1 parent 1d14f4c commit 73c0b38

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

Dockerfile

+8-2
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,17 @@ FROM rust:1.74.1-alpine3.18 as build
33
ARG QUICHE_VERSION=0.20.0
44
ARG CURL_VERSION=curl-8_5_0
55

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+
713
RUN apk add --no-cache ca-certificates git build-base cmake autoconf automake libtool nghttp2-dev nghttp2-static zlib-dev zlib-static && \
814
git clone --recursive --branch "$QUICHE_VERSION" https://github.com/cloudflare/quiche /src/quiche && \
915
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 && \
1117
mkdir -vp /src/quiche/quiche/deps/boringssl/src/lib && \
1218
ln -vnf $(find target/release -name libcrypto.a -o -name libssl.a) quiche/deps/boringssl/src/lib && \
1319
git clone --recursive --branch "$CURL_VERSION" https://github.com/curl/curl /src/curl && \

0 commit comments

Comments
 (0)