From 6c55151b40e882c3a0f506c7b4eaf42aff4284d8 Mon Sep 17 00:00:00 2001 From: Zoey Date: Sun, 17 Dec 2023 15:32:57 +0100 Subject: [PATCH] Update Dockerfile Signed-off-by: Zoey --- Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e01c013..3e413b7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ ARG CURL_VERSION=curl-8_5_0 ARG WS_VERSION=v5.6.4-stable RUN apk add --no-cache ca-certificates git build-base cmake autoconf automake coreutils libtool \ - nghttp2-dev nghttp2-static zlib-dev zlib-static zstd-dev zstd-static brotli-dev brotli-static libssh2-dev libssh2-static && \ + nghttp2-dev nghttp2-static zlib-dev zlib-static zstd-dev zstd-static libssh2-dev libssh2-static && \ \ git clone --recursive --branch "$WS_VERSION" https://github.com/wolfSSL/wolfssl /src/wolfssl && \ cd /src/wolfssl && \ @@ -27,6 +27,11 @@ RUN apk add --no-cache ca-certificates git build-base cmake autoconf automake co make && \ make install && \ \ + git clone --recursive https://github.com/google/brotli /src/brotli && \ + cd /src/brotli && \ + cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=OFF /src/brotli && \ + cmake --build /src/brotli --config Release --target install && \ + \ git clone --recursive --branch "$CURL_VERSION" https://github.com/curl/curl /src/curl && \ cd /src/curl && \ autoreconf -fi && \