2099: update Dockerfile to alpine 3.14.3 r=mergify[bot] a=willofr

## What type of PR?
Security fix

## What does this PR do?
Updated the Dockerfile to use the latest alpine version 3.14.3 where several CVEs have been fixed: https://alpinelinux.org/posts/Alpine-3.14.3-released.html
New images successfully built on my test env.

### Related issue(s)
None

## Prerequisites
Before we can consider review and merge, please make sure the following list is done and checked.
If an entry in not applicable, you can check it or remove it from the list.

- [x] In case of feature or enhancement: documentation updated accordingly
- [x] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/workflow.html#changelog) entry file.


Co-authored-by: Will <will@packer-output-c8fcfb40-3d93-4475-8f87-e14a9dd683b6>
Co-authored-by: willofr <willofr@users.noreply.github.com>
master
bors[bot] 3 years ago committed by GitHub
commit 65d905fe62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,5 +1,5 @@
# First stage to build assets # First stage to build assets
ARG DISTRO=alpine:3.14.2 ARG DISTRO=alpine:3.14.3
ARG ARCH="" ARG ARCH=""
FROM ${ARCH}node:16 as assets FROM ${ARCH}node:16 as assets

@ -1,4 +1,4 @@
ARG DISTRO=alpine:3.14.2 ARG DISTRO=alpine:3.14.3
FROM $DISTRO FROM $DISTRO
ARG VERSION ARG VERSION

@ -1,4 +1,4 @@
ARG DISTRO=alpine:3.14.2 ARG DISTRO=alpine:3.14.3
FROM $DISTRO FROM $DISTRO
ARG VERSION ARG VERSION

@ -1,6 +1,6 @@
# This is an idle image to dynamically replace any component if disabled. # This is an idle image to dynamically replace any component if disabled.
ARG DISTRO=alpine:3.14.2 ARG DISTRO=alpine:3.14.3
FROM $DISTRO FROM $DISTRO
CMD sleep 1000000d CMD sleep 1000000d

@ -1,4 +1,4 @@
ARG DISTRO=alpine:3.14.2 ARG DISTRO=alpine:3.14.3
FROM $DISTRO FROM $DISTRO
ARG VERSION ARG VERSION

@ -1,4 +1,4 @@
ARG DISTRO=alpine:3.14.2 ARG DISTRO=alpine:3.14.3
FROM $DISTRO FROM $DISTRO
ARG VERSION ARG VERSION

@ -1,4 +1,4 @@
ARG DISTRO=alpine:3.14.2 ARG DISTRO=alpine:3.14.3
FROM $DISTRO FROM $DISTRO
ARG VERSION ARG VERSION

@ -1,4 +1,4 @@
ARG DISTRO=alpine:3.14.2 ARG DISTRO=alpine:3.14.3
FROM $DISTRO FROM $DISTRO
ARG VERSION ARG VERSION

@ -1,4 +1,4 @@
ARG DISTRO=alpine:3.14.2 ARG DISTRO=alpine:3.14.3
FROM $DISTRO FROM $DISTRO
ARG VERSION ARG VERSION

@ -1,4 +1,4 @@
ARG DISTRO=alpine:3.14.2 ARG DISTRO=alpine:3.14.3
FROM $DISTRO FROM $DISTRO
ARG VERSION ARG VERSION
ENV TZ Etc/UTC ENV TZ Etc/UTC
@ -21,4 +21,4 @@ COPY static ./static
EXPOSE 80/tcp EXPOSE 80/tcp
CMD gunicorn -w 4 -b :80 --access-logfile - --error-logfile - --preload main:app CMD gunicorn -w 4 -b :80 --access-logfile - --error-logfile - --preload main:app
RUN echo $VERSION >> /version RUN echo $VERSION >> /version

@ -0,0 +1 @@
updated Dockerfile to alpine 3.14.3 to address several CVEs
Loading…
Cancel
Save