Skip to content
Permalink
Browse files

Don't use symlink for systemctl

  • Loading branch information...
Cat5TV committed Aug 19, 2019
1 parent 0708b2d commit 5a6823d292679f436a312c2197649e60b5dd538a
Showing with 2 additions and 3 deletions.
  1. +2 −3 notes/docker/image/Dockerfile
@@ -29,9 +29,8 @@ RUN wget -O /tmp/systemctl.zip https://github.com/gdraheim/docker-systemctl-repl
unzip systemctl.zip && \
cd docker-systemctl-replacement* && \
make && \
mv ./files/docker/systemctl3.py /usr/local/bin/ && \
chmod +x /usr/local/bin/systemctl3.py && \
ln -s /usr/local/bin/systemctl3.py /bin/systemctl
mv -f ./files/docker/systemctl3.py /bin/systemctl && \
chmod +x /bin/systemctl

CMD ["/bin/bash", "-c", "/bin/systemctl"]

0 comments on commit 5a6823d

Please sign in to comment.
You can’t perform that action at this time.