Skip to content
Public template

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

43 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Using the template

  1. Install and set up rocker
  2. Update bin/config.sh to suit your needs
  3. Edit bin/extra_bashrc.sh if necessary (e.g. custom source/export/alias, etc.)
    • This file will be sourced in the .bashrc of the container
  4. Modify docker/base.dockerfile if necessary
  5. Run bin/build_base.sh to build the image
    • This may take up to 15 mins. I have yet to find a way to optimize this...
  6. Run bin/start_container.sh to start the container (by default named ${IMAGE_NAME})
    • The bash shell entered defines the lifetime of the container. Exiting the shell automatically stops the container.
    • This entire repository will be mounted under /${WORKSPACE_NAME}.
    • Be sure to double check that modification from within the container are visible in the host , e.g. touch a new file in /${WORKSPACE_NAME} in the container and check if the file appears locally.
  7. In vscode, run command "Remote-Container: Attach to Running Container..." and select container
  8. Run bin/enter_container.sh to attach additional shells to the container
  9. (optional) Use bin/compile.sh to compile the code in the container

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages