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
FROM ubuntu:focal | |
RUN apt-get update && \ | |
DEBIAN_FRONTEND=noninteractive apt-get install -y ca-certificates wget perl make gcc-10 g++-10 gdb | |
RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 10 && \ | |
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-10 10 | |
# Install OpenSSL 1.1.1k | |
RUN wget https://www.openssl.org/source/openssl-1.1.1k.tar.gz && \ |
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
FROM ubuntu:focal | |
RUN apt-get update && \ | |
DEBIAN_FRONTEND=noninteractive apt-get install -y ssh && \ | |
apt-get clean | |
RUN sed -i 's/#PasswordAuthentication yes/PasswordAuthentication yes/g' /etc/ssh/sshd_config && \ | |
sed -i 's/#LogLevel INFO/LogLevel INFO/g' /etc/ssh/sshd_config && \ | |
service ssh restart |