github.com/mysteriumnetwork/node@v0.0.0-20240516044423-365054f76801/ci/test/testinstall/Dockerfile.ubuntu-kinetic (about) 1 FROM ubuntu:22.10 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 11 RUN cd /lib/systemd/system/sysinit.target.wants/ \ 12 && ls | grep -v systemd-tmpfiles-setup | xargs rm -f $1 13 14 RUN rm -f /lib/systemd/system/multi-user.target.wants/* \ 15 /etc/systemd/system/*.wants/* \ 16 /lib/systemd/system/local-fs.target.wants/* \ 17 /lib/systemd/system/sockets.target.wants/*udev* \ 18 /lib/systemd/system/sockets.target.wants/*initctl* \ 19 /lib/systemd/system/basic.target.wants/* \ 20 /lib/systemd/system/anaconda.target.wants/* \ 21 /lib/systemd/system/plymouth* \ 22 /lib/systemd/system/systemd-update-utmp* 23 24 # https://github.com/moby/moby/issues/1297 25 RUN echo resolvconf resolvconf/linkify-resolvconf boolean false | debconf-set-selections 26 27 RUN apt update \ 28 && apt install -y \ 29 sudo \ 30 curl 31 32 VOLUME ["/sys/fs/cgroup"] 33 34 CMD ["/lib/systemd/systemd"]