diff --git a/internal-lab-setup-assets/Containerfile b/internal-lab-setup-assets/Containerfile index 735bf48..48c16c1 100644 --- a/internal-lab-setup-assets/Containerfile +++ b/internal-lab-setup-assets/Containerfile @@ -23,7 +23,7 @@ RUN export PATH=$PATH:/sbin:/usr/sbin # Set the user's password via environment variable. Passwords must be set # to allow login. # Note: These variable was pre-defined by the lab orchestrator -ENV CX23_LAB_PASSWORD= +ENV LONI_LAB_PASSWORD= # Create an RSA key, required for SSH server. RUN ssh-keygen -A @@ -35,9 +35,8 @@ RUN mkdir -p /run/sshd EXPOSE 22 # Prepare post-init script. -COPY ./workshop-init.sh /workshop-init.sh -COPY ./lab-makefile-for-bug /Makefile +COPY workshop-init.sh / RUN chmod +x /workshop-init.sh -# Configure sshd as root process. If sshd terminates for some reason, the container will too. +# This shell script, among other things, results with sshd as the root process. If sshd terminates for some reason, the container will too. ENTRYPOINT ["/workshop-init.sh"]