Commit 0d45e40a authored by Joseph Noir's avatar Joseph Noir

Remove SSH related setup

parent e3de3102
......@@ -19,7 +19,6 @@ RUN yum update -y \
RUN yum install -y git \
wget \
make \
openssh-server \
sudo \
java-1.8.0-openjdk \
cmake3 \
......@@ -32,15 +31,6 @@ RUN yum install -y git \
####################### SETUP SSH #########################
# gen dummy keys, centos doesn't autogen them like ubuntu does
RUN ssh-keygen -q -N "" -t dsa -f /etc/ssh/ssh_host_dsa_key
RUN ssh-keygen -q -N "" -t rsa -b 4096 -f /etc/ssh/ssh_host_rsa_key
RUN ssh-keygen -q -N "" -t ecdsa -f /etc/ssh/ssh_host_ecdsa_key
# Set SSH Configuration to allow remote logins without /proc write access
RUN sed -ri 's/^session\s+required\s+pam_loginuid.so$/session optional pam_loginuid.so/' \
/etc/pam.d/sshd
# Create Jenkins User
RUN useradd jenkins -m -s /bin/bash
......
......@@ -19,7 +19,6 @@ RUN yum update -y \
RUN yum install -y git \
wget \
make \
openssh-server \
sudo \
java-1.8.0-openjdk \
cmake3 \
......@@ -32,13 +31,6 @@ RUN yum install -y git \
####################### SETUP SSH #########################
# gen dummy keys, centos doesn't autogen them like ubuntu does
RUN /usr/bin/ssh-keygen -A
# Set SSH Configuration to allow remote logins without /proc write access
RUN sed -ri 's/^session\s+required\s+pam_loginuid.so$/session optional pam_loginuid.so/' \
/etc/pam.d/sshd
# Create Jenkins User
RUN useradd jenkins -m -s /bin/bash
......
......@@ -17,7 +17,6 @@ RUN apt-get update -y && \
# Install Packages
RUN apt-get install -y git \
wget \
openssh-server \
openjdk-11-jdk \
cmake \
gcc g++ \
......@@ -28,13 +27,6 @@ RUN apt-get install -y git \
####################### SETUP SSH #########################
# gen dummy keys, centos doesn't autogen them like ubuntu does
RUN /usr/bin/ssh-keygen -A
# Set SSH Configuration to allow remote logins without /proc write access
RUN sed -ri 's/^session\s+required\s+pam_loginuid.so$/session optional pam_loginuid.so/' \
/etc/pam.d/sshd
# Create Jenkins User
RUN useradd jenkins -m -s /bin/bash
......
......@@ -25,7 +25,6 @@ RUN apt-get update && \
# Install Packages
RUN apt-get install -y git \
wget \
openssh-server \
cmake \
gcc g++ \
clang-4.0 \
......@@ -41,13 +40,6 @@ RUN apt-get install -y -t jessie-backports openjdk-8-jdk
####################### SETUP SSH #########################
# gen dummy keys, centos doesn't autogen them like ubuntu does
RUN /usr/bin/ssh-keygen -A
# Set SSH Configuration to allow remote logins without /proc write access
RUN sed -ri 's/^session\s+required\s+pam_loginuid.so$/session optional pam_loginuid.so/' \
/etc/pam.d/sshd
# Create Jenkins User
RUN useradd jenkins -m -s /bin/bash
......
......@@ -17,7 +17,6 @@ RUN apt-get update -y && \
# Install Packages
RUN apt-get install -y git \
wget \
openssh-server \
openjdk-8-jdk \
cmake \
gcc g++ \
......@@ -28,13 +27,6 @@ RUN apt-get install -y git \
####################### SETUP SSH #########################
# gen dummy keys, centos doesn't autogen them like ubuntu does
RUN /usr/bin/ssh-keygen -A
# Set SSH Configuration to allow remote logins without /proc write access
RUN sed -ri 's/^session\s+required\s+pam_loginuid.so$/session optional pam_loginuid.so/' \
/etc/pam.d/sshd
# Create Jenkins User
RUN useradd jenkins -m -s /bin/bash
......
......@@ -15,7 +15,6 @@ RUN dnf update -y && \
# Install Packages
RUN dnf install -y git \
wget \
openssh-server \
sudo \
java-9-openjdk \
cmake \
......@@ -29,13 +28,6 @@ RUN dnf install -y git \
####################### SETUP SSH #########################
# gen dummy keys, centos doesn't autogen them like ubuntu does
RUN /usr/bin/ssh-keygen -A
# Set SSH Configuration to allow remote logins without /proc write access
RUN sed -ri 's/^session\s+required\s+pam_loginuid.so$/session optional pam_loginuid.so/' \
/etc/pam.d/sshd
# Create Jenkins User
RUN useradd jenkins -m -s /bin/bash
......
......@@ -16,7 +16,6 @@ RUN dnf update -y && \
RUN dnf install -y git \
wget \
make \
openssh-server \
sudo \
java-9-openjdk \
cmake \
......@@ -36,13 +35,6 @@ RUN pip install --upgrade gcovr
####################### SETUP SSH #########################
# gen dummy keys, centos doesn't autogen them like ubuntu does
RUN /usr/bin/ssh-keygen -A
# Set SSH Configuration to allow remote logins without /proc write access
RUN sed -ri 's/^session\s+required\s+pam_loginuid.so$/session optional pam_loginuid.so/' \
/etc/pam.d/sshd
# Create Jenkins User
RUN useradd jenkins -m -s /bin/bash
......
......@@ -16,7 +16,6 @@ RUN dnf update -y && \
RUN dnf install -y git \
wget \
make \
openssh-server \
sudo \
java-11-openjdk \
cmake \
......@@ -36,13 +35,6 @@ RUN pip install --upgrade gcovr
####################### SETUP SSH #########################
# gen dummy keys, centos doesn't autogen them like ubuntu does
RUN /usr/bin/ssh-keygen -A
# Set SSH Configuration to allow remote logins without /proc write access
RUN sed -ri 's/^session\s+required\s+pam_loginuid.so$/session optional pam_loginuid.so/' \
/etc/pam.d/sshd
# Create Jenkins User
RUN useradd jenkins -m -s /bin/bash
......
......@@ -16,7 +16,6 @@ RUN dnf update -y && \
RUN dnf install -y git \
wget \
make \
openssh-server \
sudo \
java-11-openjdk \
cmake \
......@@ -36,13 +35,6 @@ RUN pip install --upgrade gcovr
####################### SETUP SSH #########################
# gen dummy keys, centos doesn't autogen them like ubuntu does
RUN /usr/bin/ssh-keygen -A
# Set SSH Configuration to allow remote logins without /proc write access
RUN sed -ri 's/^session\s+required\s+pam_loginuid.so$/session optional pam_loginuid.so/' \
/etc/pam.d/sshd
# Create Jenkins User
RUN useradd jenkins -m -s /bin/bash
......
......@@ -17,7 +17,6 @@ RUN apt-get update -y && \
# Install Packages
RUN apt-get install -y git \
wget \
openssh-server \
openjdk-8-jdk \
cmake \
gcc g++ \
......@@ -28,13 +27,6 @@ RUN apt-get install -y git \
####################### SETUP SSH #########################
# gen dummy keys, centos doesn't autogen them like ubuntu does
RUN /usr/bin/ssh-keygen -A
# Set SSH Configuration to allow remote logins without /proc write access
RUN sed -ri 's/^session\s+required\s+pam_loginuid.so$/session optional pam_loginuid.so/' \
/etc/pam.d/sshd
# Create Jenkins User
RUN useradd jenkins -m -s /bin/bash
......
......@@ -17,7 +17,6 @@ RUN apt-get update -y && \
# Install Packages
RUN apt-get install -y git \
wget \
openssh-server \
openjdk-11-jdk \
cmake \
gcc g++ \
......@@ -28,13 +27,6 @@ RUN apt-get install -y git \
####################### SETUP SSH #########################
# gen dummy keys, centos doesn't autogen them like ubuntu does
RUN /usr/bin/ssh-keygen -A
# Set SSH Configuration to allow remote logins without /proc write access
RUN sed -ri 's/^session\s+required\s+pam_loginuid.so$/session optional pam_loginuid.so/' \
/etc/pam.d/sshd
# Create Jenkins User
RUN useradd jenkins -m -s /bin/bash
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment