Update Dockerfile
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
FROM ubuntu:latest
|
FROM ubuntu:latest
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
set -euxo pipefail
|
set -euxo pipefail && \
|
||||||
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 -euxo pipefail && \
|
||||||
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 -euxo pipefail && \
|
||||||
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 -euxo pipefail && \
|
||||||
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 && \
|
||||||
|
|||||||
Reference in New Issue
Block a user