diff --git a/Dockerfile b/Dockerfile index f77dd83..fd7353f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,3 @@ -FROM ubuntu:22.04 +FROM robertdebock/ubuntu:jammy -RUN echo 'root:root' | chpasswd -RUN printf '#!/bin/sh\nexit 0' > /usr/sbin/policy-rc.d -RUN apt-get update -RUN apt-get install -y systemd systemd-sysv -RUN printf "systemctl start systemd-logind" >> /etc/profile - -RUN apt-get install wget net-tools - -ENTRYPOINT ["/sbin/init"] \ No newline at end of file +RUN apt-get install wget net-tools \ No newline at end of file diff --git a/docker-compose.yaml b/docker-compose.yaml index f0fe8e2..e4ecdf7 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -17,4 +17,4 @@ services: - /etc/localtime:/etc/localtime:ro environment: APP_ADDRESS: 0.0.0.0:3111 - # command: ['tail', '-f', '/dev/null'] + command: ['tail', '-f', '/dev/null']