Skip to content

Pass in startup.sh in Run Time for Client Image #191

@7174Andy

Description

@7174Andy

Currently, the lablink-client-base-image copies the startup.sh from local repo during build time. However, this restricts the instructors to customize which package to use when creating this as a template. Currently, we only have github repo configurable for cloning. Like what we did for config.yaml to pass during run time, we could take a similar approach to transfer the startup.sh file in the template and run this bash script during run time of the Docker image (mounting to a volume).

Here is the original code:

# Copy the startup script
COPY lablink-client-base-image/start.sh /home/${USERNAME}/start.sh
RUN sudo chmod +x /home/${USERNAME}/start.sh

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions