Make hadolint happier.

This commit is contained in:
Greyscale 2023-03-01 18:35:35 +01:00
parent f613924f1a
commit f5c3fa5c7d
No known key found for this signature in database
GPG key ID: 74BAFF55434DA4B2

View file

@ -2,10 +2,15 @@ FROM benzine/php:nginx-${PHP_VERSION}
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=DL3008
RUN apt-get update -qq && \
apt-get install -yqq \
apt-get install -yqq --no-install-recommends \
php8.1-mailparse \
cpulimit
cpulimit \
&& \
apt-get autoremove -yqq && \
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
COPY laravel.runit /etc/service/laravel/run
COPY laravel-horizon.runit /etc/service/horizon/run
COPY laravel-horizon.finish /etc/service/horizon/finish