Skip to content

Templates / Basic - How to use

The following info was pulled from latest release v0.1.0.

How to use

For more info on how this release was built, see README.

Start a new empty project folder

mkdir new-project
cd new-project
git init

Unpack a v0.1.0 template with Debian

# Using Tar
curl | tar zx
# Or Zip

Or a v0.1.0 template with Alpine

# Using Tar
curl | tar zx
# Or Zip

Commit (using a multi-line git commit message)

git add .
git commit -F- <<EOF
Initial commit using template v0.1.0

See here for more info on this template:

Startup Devcontainer using VSCode

code -n .

Start Devcontainer

  • Open project folder with VSCode
  • Install the recommended (required) extension
  • F1, Reopen in Container

How to update existing template (work in progress)

  • In your .devcontainer/Dockerfile, update the docker tag used in the FROM.
  • In VSCode, F1, search and run "Rebuild Container"
  • In your integrated terminal, within the decontainer, you have the new template packaged inside.
  • You can for example or even to open a new VSCode window, in that folder, in your containe.
  • A command is being tested to view the diff: make template.diff but as more templates variants come into play, not sure how this is going to look like yet.
  • It's all manual for now. Meant to be improved later.
Propose changes to this page