DCD-1271: Re-add package upgrades and add corresponding linting override.

This commit is contained in:
Steve Smith 2021-04-15 16:37:47 +10:00
parent c8a86e38a3
commit 302c23d2b1
3 changed files with 4 additions and 0 deletions

View File

@ -1,4 +1,6 @@
ignored: ignored:
- DL3005 # Package upgrades
- DL3017 # Package upgrades
- DL3006 # Version tagging - DL3006 # Version tagging
- DL3008 # Pinning - DL3008 # Pinning
- DL3018 # Pinning - DL3018 # Pinning

View File

@ -25,6 +25,7 @@ CMD ["/entrypoint.py"]
ENTRYPOINT ["/usr/bin/tini", "--"] ENTRYPOINT ["/usr/bin/tini", "--"]
RUN apt-get update \ RUN apt-get update \
&& apt-get upgrade -y \
&& apt-get install -y --no-install-recommends fontconfig fonts-noto python3 python3-jinja2 tini \ && apt-get install -y --no-install-recommends fontconfig fonts-noto python3 python3-jinja2 tini \
&& apt-get clean autoclean && apt-get autoremove -y && rm -rf /var/lib/apt/lists/* && apt-get clean autoclean && apt-get autoremove -y && rm -rf /var/lib/apt/lists/*

View File

@ -23,6 +23,7 @@ CMD ["/entrypoint.py"]
ENTRYPOINT ["/sbin/tini", "--"] ENTRYPOINT ["/sbin/tini", "--"]
RUN apk update \ RUN apk update \
&& apk upgrade \
&& apk add --no-cache ca-certificates wget curl openssh bash procps openssl perl tini python3 py3-jinja2 ttf-dejavu `apk search -qe 'font-noto*'` \ && apk add --no-cache ca-certificates wget curl openssh bash procps openssl perl tini python3 py3-jinja2 ttf-dejavu `apk search -qe 'font-noto*'` \
&& rm -f /var/cache/apk/APKINDEX* && rm -f /var/cache/apk/APKINDEX*