Fix hadolint complaints

This commit is contained in:
Greyscale 2022-09-13 02:42:37 +02:00
parent f4f1f3a3f1
commit 82f1cf5132
No known key found for this signature in database
GPG key ID: CEC4822A25BA80C5
3 changed files with 4 additions and 1 deletions

View file

@ -1,3 +1,4 @@
# hadolint ignore=DL3007
FROM mariadb:latest
LABEL maintainer="Matthew Baggett <matthew@baggett.me>" \
org.label-schema.vcs-url="https://github.com/benzine-framework/docker" \

View file

@ -1,3 +1,4 @@
# hadolint ignore=DL3007
FROM benzine/marshall:latest AS nodejs
ARG NODE_VERSION

View file

@ -3,6 +3,7 @@ LABEL maintainer="Matthew Baggett <matthew@baggett.me>" \
org.label-schema.vcs-url="https://github.com/benzine-framework/docker" \
org.opencontainers.image.source="https://github.com/benzine-framework/docker"
# hadolint ignore=DL3013
RUN apt-get update -q && \
apt-get install --no-install-recommends -yq \
cpulimit \
@ -12,7 +13,7 @@ RUN apt-get update -q && \
apt-get autoremove -y && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /var/lib/dpkg/status.old /var/cache/debconf/templates.dat /var/log/dpkg.log /var/log/lastlog /var/log/apt/*.log && \
pip install psycopg2
pip install --no-cache-dir psycopg2
FROM octoprint AS builder
RUN apt-get update -q && \