feat: update

This commit is contained in:
liuyx 2024-09-02 16:02:16 +08:00
parent 87aa7c3720
commit 7649b10046
2 changed files with 3 additions and 11 deletions

View File

@ -1,11 +1,3 @@
FROM ubuntu:22.04
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
FROM robertdebock/ubuntu:jammy
RUN apt-get install wget net-tools
ENTRYPOINT ["/sbin/init"]

View File

@ -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']