|
@ -131,9 +131,6 @@ if [ -d "$Wdir/project" ]; then |
|
|
COPY ssh/ \${SSHDIR}/ |
|
|
COPY ssh/ \${SSHDIR}/ |
|
|
|
|
|
|
|
|
RUN export DEBIAN_FRONTEND=noninteractive && \ |
|
|
RUN export DEBIAN_FRONTEND=noninteractive && \ |
|
|
apt-get update && apt-get $APTPARAM install -y openssh-server $PACKAGES \ |
|
|
|
|
|
&& apt-get autoremove --purge && apt clean \ |
|
|
|
|
|
&& rm -rf /var/lib/apt/lists/* \ |
|
|
|
|
|
&& rm -rf /usr/share/doc \ |
|
|
&& rm -rf /usr/share/doc \ |
|
|
&& rm -rf /usr/share/man \ |
|
|
&& rm -rf /usr/share/man \ |
|
|
&& rm -rf /usr/share/locale \ |
|
|
&& rm -rf /usr/share/locale \ |
|
@ -251,9 +248,6 @@ if [ "$Wdir" == "$HOME" ]; then |
|
|
COPY ssh/ \${SSHDIR}/ |
|
|
COPY ssh/ \${SSHDIR}/ |
|
|
|
|
|
|
|
|
RUN export DEBIAN_FRONTEND=noninteractive && \ |
|
|
RUN export DEBIAN_FRONTEND=noninteractive && \ |
|
|
apt-get update && apt-get $APTPARAM install -y openssh-server $PACKAGES \ |
|
|
|
|
|
&& apt-get autoremove --purge && apt clean \ |
|
|
|
|
|
&& rm -rf /var/lib/apt/lists/* \ |
|
|
|
|
|
&& rm -rf /usr/share/doc \ |
|
|
&& rm -rf /usr/share/doc \ |
|
|
&& rm -rf /usr/share/man \ |
|
|
&& rm -rf /usr/share/man \ |
|
|
&& rm -rf /usr/share/locale \ |
|
|
&& rm -rf /usr/share/locale \ |
|
@ -629,7 +623,7 @@ show_instruction () |
|
|
echo "" |
|
|
echo "" |
|
|
echo " 2. Execute programs inside master node, for example:" |
|
|
echo " 2. Execute programs inside master node, for example:" |
|
|
echo " $ sudo su" |
|
|
echo " $ sudo su" |
|
|
echo " # apt update" |
|
|
echo " # apk update" |
|
|
echo " *----------------------------------------------------*" |
|
|
echo " *----------------------------------------------------*" |
|
|
echo " | Default hostfile of connected nodes in the swarmlab |" |
|
|
echo " | Default hostfile of connected nodes in the swarmlab |" |
|
|
echo " | is automatically updated at /etc/opt/hosts |" |
|
|
echo " | is automatically updated at /etc/opt/hosts |" |
|
|