From a70296a6cff8eba5c5463ce4d191255603f35b77 Mon Sep 17 00:00:00 2001 From: sbyrnes1 Date: Thu, 14 Mar 2024 21:48:51 +0000 Subject: [PATCH] enabler: Update Containerfile naming --- internal-lab-setup-assets/Containerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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"]