Update Dockerfile

This commit is contained in:
uazo 2021-07-12 18:57:34 +02:00 committed by GitHub
parent 63f30f772d
commit de6de42d5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,6 +18,8 @@ RUN set -xe && \
RUN mkdir -p /run/systemd && echo 'docker' > /run/systemd/container
CMD ["/bin/bash"]
RUN apt-get update && \
apt-get install -y --no-install-recommends \
systemd systemd-sysv libsystemd0 ca-certificates dbus \
@ -52,4 +54,4 @@ RUN apt-get update \
pigz \
&& rm -rf /var/lib/apt/list/*
ENTRYPOINT ["tail"]
ENTRYPOINT ["/sbin/init" "--log-level=err"]