mirror of
https://github.com/Mailu/Mailu.git
synced 2025-01-18 03:21:36 +02:00
Merge #2099
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>
This commit is contained in:
commit
65d905fe62
@ -1,5 +1,5 @@
|
||||
# First stage to build assets
|
||||
ARG DISTRO=alpine:3.14.2
|
||||
ARG DISTRO=alpine:3.14.3
|
||||
ARG ARCH=""
|
||||
|
||||
FROM ${ARCH}node:16 as assets
|
||||
|
@ -1,4 +1,4 @@
|
||||
ARG DISTRO=alpine:3.14.2
|
||||
ARG DISTRO=alpine:3.14.3
|
||||
|
||||
FROM $DISTRO
|
||||
ARG VERSION
|
||||
|
@ -1,4 +1,4 @@
|
||||
ARG DISTRO=alpine:3.14.2
|
||||
ARG DISTRO=alpine:3.14.3
|
||||
FROM $DISTRO
|
||||
ARG VERSION
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
# 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
|
||||
|
||||
CMD sleep 1000000d
|
||||
|
@ -1,4 +1,4 @@
|
||||
ARG DISTRO=alpine:3.14.2
|
||||
ARG DISTRO=alpine:3.14.3
|
||||
|
||||
FROM $DISTRO
|
||||
ARG VERSION
|
||||
|
@ -1,4 +1,4 @@
|
||||
ARG DISTRO=alpine:3.14.2
|
||||
ARG DISTRO=alpine:3.14.3
|
||||
FROM $DISTRO
|
||||
ARG VERSION
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
ARG DISTRO=alpine:3.14.2
|
||||
ARG DISTRO=alpine:3.14.3
|
||||
FROM $DISTRO
|
||||
ARG VERSION
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
ARG DISTRO=alpine:3.14.2
|
||||
ARG DISTRO=alpine:3.14.3
|
||||
FROM $DISTRO
|
||||
ARG VERSION
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
ARG DISTRO=alpine:3.14.2
|
||||
ARG DISTRO=alpine:3.14.3
|
||||
FROM $DISTRO
|
||||
ARG VERSION
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
ARG DISTRO=alpine:3.14.2
|
||||
ARG DISTRO=alpine:3.14.3
|
||||
FROM $DISTRO
|
||||
ARG VERSION
|
||||
ENV TZ Etc/UTC
|
||||
@ -21,4 +21,4 @@ COPY static ./static
|
||||
EXPOSE 80/tcp
|
||||
|
||||
CMD gunicorn -w 4 -b :80 --access-logfile - --error-logfile - --preload main:app
|
||||
RUN echo $VERSION >> /version
|
||||
RUN echo $VERSION >> /version
|
||||
|
1
towncrier/newsfragments/2099.bugfix
Normal file
1
towncrier/newsfragments/2099.bugfix
Normal file
@ -0,0 +1 @@
|
||||
updated Dockerfile to alpine 3.14.3 to address several CVEs
|
Loading…
Reference in New Issue
Block a user