Skip to content

Commit

Permalink
enabler: Update Containerfile naming
Browse files Browse the repository at this point in the history
  • Loading branch information
sbyrnes committed Mar 14, 2024
1 parent 9d29efd commit a70296a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions internal-lab-setup-assets/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"]

0 comments on commit a70296a

Please sign in to comment.