From 822593d761f55406cef9aa4bc2ce9e5fc67daf36 Mon Sep 17 00:00:00 2001 From: Dave Page Date: Wed, 7 Dec 2022 11:03:51 +0000 Subject: [PATCH] Always build the container with alpine:latest rather than a specific version. --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 61f09acc3..2709ce2a2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ # and clean up the web/ source code ######################################################################### -FROM alpine:3.16 AS app-builder +FROM alpine:latest AS app-builder RUN apk add --no-cache \ autoconf \ @@ -60,7 +60,7 @@ RUN export CPPFLAGS="-DPNG_ARM_NEON_OPT=0" && \ # Next, create the base environment for Python ######################################################################### -FROM alpine:3.16 as env-builder +FROM alpine:latest as env-builder # Install dependencies COPY requirements.txt / @@ -118,7 +118,7 @@ FROM postgres:13-alpine as pg13-builder FROM postgres:14-alpine as pg14-builder FROM postgres:15-alpine as pg15-builder -FROM alpine:3.16 as tool-builder +FROM alpine:latest as tool-builder # Copy the PG binaries COPY --from=pg10-builder /usr/local/bin/pg_dump /usr/local/pgsql/pgsql-10/ @@ -155,7 +155,7 @@ COPY --from=pg15-builder /usr/local/bin/psql /usr/local/pgsql/pgsql-15/ # Assemble everything into the final container. ######################################################################### -FROM alpine:3.16 +FROM alpine:latest # Copy in the Python packages COPY --from=env-builder /venv /venv