github.com/mysteriumnetwork/node@v0.0.0-20240516044423-365054f76801/ci/test/testinstall/Dockerfile.debian-stretch (about) 1 FROM debian:stretch 2 3 ENV container docker 4 ENV LC_ALL C 5 ENV DEBIAN_FRONTEND noninteractive 6 7 RUN apt update \ 8 && apt install -y systemd \ 9 && apt-get clean \ 10 && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* 11 12 RUN rm -f /lib/systemd/system/multi-user.target.wants/* \ 13 /etc/systemd/system/*.wants/* \ 14 /lib/systemd/system/local-fs.target.wants/* \ 15 /lib/systemd/system/sockets.target.wants/*udev* \ 16 /lib/systemd/system/sockets.target.wants/*initctl* \ 17 /lib/systemd/system/sysinit.target.wants/systemd-tmpfiles-setup* \ 18 /lib/systemd/system/systemd-update-utmp* 19 20 # https://github.com/moby/moby/issues/1297 21 RUN echo resolvconf resolvconf/linkify-resolvconf boolean false | debconf-set-selections 22 23 RUN apt update && apt install -y sudo curl gnupg 24 25 VOLUME ["/sys/fs/cgroup"] 26 27 CMD ["/lib/systemd/systemd"]