Closed
Description
OS Information
-
OS: Debian 11
-
Browser (if applicable): N/A
-
Architecture: AMD64
-
coder --version
:root@coder-v2:~/coder-config/templates/docker-image-builds# coder --version Coder v0.5.11-devel+a8a8f9db Fri May 20 23:39:51 UTC 2022 https://github.com/coder/coder/commit/a8a8f9dbf30cbbdfe604d00f56870086d7316d4c
Steps to Reproduce
Install steps
- Create a release from main branch:
goreleaser release --rm-dist --snapshot
- Run/install Coder from the built
dist/
artifacts (--dev flag will do)
Repro steps
coder templates init
- Select
Develop in Docker with custom image builds
- Try to cd to
./docker-image-builds/images
. The folder is missing. This breaks the template.
Expected
Subfolder contents are bundled, such as ./examples/docker-image-builds/images/
Actual
The ./docker-image-builds/images
folder is missing when you clone from coder templates init
Notes
Users can workaround this and use the example template by cloning the repo directly. The images/
subdirectory is bundled correctly in the deployment
git clone [email protected]:coder/coder.git
cd ./coder/examples/docker-image-builds
coder templates create