Update Alpine to 3.16

This commit is contained in:
Stefan Reimer 2023-05-15 21:08:13 +00:00
parent 5822e70228
commit e2d2a3bb89

View File

@ -1,6 +1,8 @@
# https://aws.amazon.com/blogs/aws/new-for-aws-lambda-container-image-support/ # https://aws.amazon.com/blogs/aws/new-for-aws-lambda-container-image-support/
ARG RUNTIME_VERSION="3.9" ARG RUNTIME_VERSION="3.9"
ARG DISTRO_VERSION="3.15"
# libexec is missing from >=3.17
ARG DISTRO_VERSION="3.16"
# Stage 1 - bundle base image + runtime # Stage 1 - bundle base image + runtime
FROM python:${RUNTIME_VERSION}-alpine${DISTRO_VERSION} AS python-alpine FROM python:${RUNTIME_VERSION}-alpine${DISTRO_VERSION} AS python-alpine
@ -22,11 +24,11 @@ RUN apk upgrade -U --available --no-cache && \
libtool \ libtool \
autoconf \ autoconf \
automake \ automake \
libexecinfo-dev \
make \ make \
cmake \ cmake \
libcurl \ libcurl \
libffi-dev \ libffi-dev \
libexecinfo-dev \
openssl-dev openssl-dev
# cargo # cargo