refactor: remove redundant tailscale-openrc entry and update service name in Dockerfile
This commit is contained in:
parent
3ee17c9687
commit
b3c0fec9f7
1 changed files with 1 additions and 3 deletions
|
|
@ -24,15 +24,13 @@ RUN apk add --no-cache \
|
||||||
nano \
|
nano \
|
||||||
croc \
|
croc \
|
||||||
btop \
|
btop \
|
||||||
|
|
||||||
tailscale \
|
tailscale \
|
||||||
tailscale-openrc
|
|
||||||
|
|
||||||
RUN sed -i 's/^#rc_sys=""/rc_sys="lxc"/' /etc/rc.conf
|
RUN sed -i 's/^#rc_sys=""/rc_sys="lxc"/' /etc/rc.conf
|
||||||
RUN mkdir -p /run/openrc
|
RUN mkdir -p /run/openrc
|
||||||
RUN touch /run/openrc/softlevel
|
RUN touch /run/openrc/softlevel
|
||||||
RUN rc-update add sshd default
|
RUN rc-update add sshd default
|
||||||
RUN rc-update add tailscaled default
|
RUN rc-update add tailscale default
|
||||||
RUN ssh-keygen -A
|
RUN ssh-keygen -A
|
||||||
|
|
||||||
RUN mkdir -p /root/.ssh && \
|
RUN mkdir -p /root/.ssh && \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue