From f2d5d593b1386b5e842467b63834c6bd08028ace Mon Sep 17 00:00:00 2001 From: brooke Date: Wed, 17 Jul 2024 12:59:45 -0400 Subject: [PATCH] downgrade build container so that python is installed as 3.11 instead of 3.12 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index fb4b1db..f9e98cd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ -FROM alpine:3.20 as build +FROM alpine:3.19 as build ARG HUGO_VERSION="0.127.0" ARG NODE_VERSION="22.2.0" -RUN apk add --update --no-cache libssl3 ca-certificates openssl-dev curl ninja pkgconf icu-dev git linux-headers libc6-compat make g++ gcc ada-dev brotli-dev c-ares-dev nghttp2-dev python3 samurai zlib-dev py3-pip libuv-dev +RUN apk add --update --no-cache libssl3 ca-certificates openssl-dev curl ninja pkgconf icu-dev git linux-headers libc6-compat make g++ gcc ada-dev brotli-dev c-ares-dev nghttp2-dev python3<3.11 samurai zlib-dev py3-pip libuv-dev WORKDIR /tmp