Skip to content

Commit

Permalink
fix CXX variable line
Browse files Browse the repository at this point in the history
  • Loading branch information
Melky-Phoe committed Apr 5, 2024
1 parent f0ff9b6 commit ce52a3e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions example/docker/ubuntu1804-aarch64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand All @@ -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"]

0 comments on commit ce52a3e

Please sign in to comment.