Skip to content

Commit

Permalink
Bump alpine version (#1533)
Browse files Browse the repository at this point in the history
* Update DockerfileBump alpine version

* Change as to AS

* Lib exec info removed in 3.17 so won't work.

* 3.19 with elfutils to fix python

---------

Co-authored-by: Andrew Pearce <[email protected]>
  • Loading branch information
mattmachell and andrewpearce-digital authored Oct 7, 2024
1 parent 76108d9 commit 9b9fa10
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lambda/create_s3_replication_job/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
# Define function directory
ARG FUNCTION_DIR="/function"

FROM python:alpine3.16 AS python-alpine
FROM python:3.12-alpine3.19 AS python-alpine
RUN apk add --no-cache \
libstdc++
libstdc++ \
elfutils-dev

FROM python-alpine as build-image
FROM python-alpine AS build-image

# Install aws-lambda-cpp build dependencies
RUN apk add --no-cache \
build-base \
libtool \
autoconf \
automake \
libexecinfo-dev \
make \
cmake \
libcurl
Expand Down

0 comments on commit 9b9fa10

Please sign in to comment.