From ce52a3ec2365bd2a0f828068ad94a2025b4077b1 Mon Sep 17 00:00:00 2001 From: Josef Melkus Date: Fri, 5 Apr 2024 16:44:40 +0200 Subject: [PATCH] fix CXX variable line --- example/docker/ubuntu1804-aarch64/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/example/docker/ubuntu1804-aarch64/Dockerfile b/example/docker/ubuntu1804-aarch64/Dockerfile index e8563ac..56eb645 100644 --- a/example/docker/ubuntu1804-aarch64/Dockerfile +++ b/example/docker/ubuntu1804-aarch64/Dockerfile @@ -21,6 +21,9 @@ RUN echo "export CMLIB_DIR=/cmakelib" >> /root/.bashrc RUN sed -ri 's/#?PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config RUN mkdir -p /run/sshd +ENV CXX=aarch64-linux-gnu-g++-8 +ENV CC=aarch64-linux-gnu-gcc-8 + RUN sed -ri 's/#?PermitUserEnvironment no/PermitUserEnvironment yes/' /etc/ssh/sshd_config RUN mkdir /root/.ssh && \ echo "CXX=${CXX}" > /root/.ssh/environment && \ @@ -32,8 +35,5 @@ RUN chmod +x /root/init_toolchain.sh && \ COPY lsb_release.txt /root/tools/ COPY uname.txt /root/tools/ -ENV CXX=aarch64-linux-gnu-g++-8 -ENV CC=aarch64-linux-gnu-gcc-8 - ENTRYPOINT ["/usr/sbin/sshd", "-D", "-o", "ListenAddress=0.0.0.0"]