Skip to content

Templates / Go / Pulumi - How to use

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

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.0.3 template

# Using Tar
curl https://gitlab.com/api/v4/projects/40970887/packages/generic/devcontainer/v0.0.3/pulumi_devcontainer_v0.0.3.tar.gz | tar zx
# Or Zip
curl https://gitlab.com/api/v4/projects/40970887/packages/generic/devcontainer/v0.0.3/pulumi_devcontainer_v0.0.3.zip

Commit (using a multi-line git commit message)

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

See here for more info on this template:
https://gitlab.com/geekstuff.dev/templates/go/pulumi/-/releases/v0.0.3
EOF

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"
  • Once read, a terminal will open and show the final steps.
Propose changes to this page