Update Dockerfile

This commit is contained in:
Faraz Fallahi
2021-01-25 23:50:44 -05:00
parent 34a4d9595c
commit 4b608ea4db

View File

@@ -1,7 +1,7 @@
FROM ubuntu:latest FROM ubuntu:latest
RUN \ RUN \
set -euxo pipefail && \ set -eux && \
export DEBIAN_FRONTEND=noninteractive && \ export DEBIAN_FRONTEND=noninteractive && \
apt update && \ apt update && \
apt -y upgrade && \ apt -y upgrade && \
@@ -18,12 +18,12 @@ RUN \
exit 0 exit 0
RUN \ RUN \
set -euxo pipefail && \ set -eux && \
pip3 install autoenv autopep8 cmake-format conan conan_package_tools setuptools && \ pip3 install autoenv autopep8 cmake-format conan conan_package_tools setuptools && \
exit 0 exit 0
RUN \ RUN \
set -euxo pipefail && \ set -eux && \
conan profile new default --detect && \ conan profile new default --detect && \
conan profile update settings.compiler.libcxx=libstdc++11 default && \ conan profile update settings.compiler.libcxx=libstdc++11 default && \
conan remote list && \ conan remote list && \
@@ -31,7 +31,7 @@ RUN \
exit 0 exit 0
RUN \ RUN \
set -euxo pipefail && \ set -eux && \
mkdir -p /var/run/sshd && \ mkdir -p /var/run/sshd && \
mkdir -p /root/.ssh && \ mkdir -p /root/.ssh && \
sed -ri 's/^#?PermitRootLogin\s+.*/PermitRootLogin yes/' /etc/ssh/sshd_config && \ sed -ri 's/^#?PermitRootLogin\s+.*/PermitRootLogin yes/' /etc/ssh/sshd_config && \