-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#114 disable agetty on node container
- Loading branch information
apisu
authored and
apisu
committed
May 15, 2018
1 parent
928fd60
commit 1e72817
Showing
2 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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"] | ||
|