Skip to content

Commit

Permalink
#114 disable agetty on node container
Browse files Browse the repository at this point in the history
  • Loading branch information
apisu authored and apisu committed May 15, 2018
1 parent 928fd60 commit 1e72817
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
14 changes: 4 additions & 10 deletions cohorte-home/docker/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,9 @@ RUN cd Python-3.4.4 ; make altinstall
RUN ln -s /opt/python3.4/bin/python3.4 /usr/bin/python
RUN ln -s /opt/python3.4/bin/python3.4 /usr/bin/python3
RUN ln -s /opt/python3.4/bin/python3.4 /usr/bin/python3.4
RUN ln -s /opt/python3.4/bin/pip3 /usr/bin/pip3
RUN ln -s /opt/python3.4/bin/pip3 /usr/bin/pip

RUN ln -s /opt/python3.4/bin/pip3.4 /usr/bin/pip3.4
RUN ln -s /opt/python3.4/bin/pip3.4 /usr/bin/pip3
RUN ln -s /opt/python3.4/bin/pip3.4 /usr/bin/pip
RUN ln -s /opt/python3.4/bin/pip3.4 /usr/bin/pip3.4s

# to have systemctl command
RUN apt-get install -y systemd
Expand All @@ -72,12 +71,7 @@ RUN mkdir -p $JAVA_HOME
COPY ./jdk/* /opt/java/
RUN chmod +x /opt/java/bin/*

RUN systemctl disable [email protected]
RUN systemctl disable [email protected]
RUN systemctl disable [email protected]
RUN systemctl disable [email protected]
RUN systemctl disable [email protected]
RUN systemctl disable [email protected]


# Test de java
RUN java -version
Expand Down
6 changes: 6 additions & 0 deletions cohorte-home/docker/node/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ RUN pip3 install jsoncomment simpleeval

RUN chmod +x /opt/boot.sh

RUN systemctl disable [email protected]
RUN systemctl disable [email protected]
RUN systemctl disable [email protected]
RUN systemctl disable [email protected]
RUN systemctl disable [email protected]
RUN systemctl disable [email protected]
RUN systemctl enable cohorte.service

ENTRYPOINT ["/opt/boot.sh"]
Expand Down

0 comments on commit 1e72817

Please sign in to comment.