Update Dockerfile

This commit is contained in:
Faraz Fallahi
2021-01-25 23:50:08 -05:00
parent fed8c7897a
commit 34a4d9595c

View File

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