updating build-initial-centos6.sh
This commit is contained in:
parent
2d46766a23
commit
4118d4e8c4
@ -6,7 +6,6 @@ yum -y install \
|
|||||||
openssh-server openssh-clients java-1.8.0-openjdk java-1.8.0-openjdk-devel \
|
openssh-server openssh-clients java-1.8.0-openjdk java-1.8.0-openjdk-devel \
|
||||||
gcc gcc-c++ gcc-gnat gcc-java make autoconf automake libtool vim-enhanced &&
|
gcc gcc-c++ gcc-gnat gcc-java make autoconf automake libtool vim-enhanced &&
|
||||||
useradd -m -s /bin/bash jenkins &&
|
useradd -m -s /bin/bash jenkins &&
|
||||||
sed -i 's@session\s*required\s*pam_loginuid.so@session optional pam_loginuid.so@g' /etc/pam.d/sshd &&
|
ssh-keygen -q -N "" -t dsa -f /etc/ssh/ssh_host_dsa_key &&
|
||||||
RUN ssh-keygen -q -N "" -t dsa -f /etc/ssh/ssh_host_dsa_key &&
|
ssh-keygen -q -N "" -t rsa -f /etc/ssh/ssh_host_rsa_key &&
|
||||||
RUN ssh-keygen -q -N "" -t rsa -f /etc/ssh/ssh_host_rsa_key &&
|
|
||||||
mkdir -p /var/run/sshd
|
mkdir -p /var/run/sshd
|
||||||
|
Loading…
Reference in New Issue
Block a user