Commit Graph

33 Commits

Author SHA1 Message Date
Jose Diaz-Gonzalez
27b5fd93fd feat: export the devcontainer environment to allow docker exec to work
This will allow Dokku developers access to the devcontainer on their preferred terminal vs just the built-in one in VSCode.
2025-07-08 22:32:46 -04:00
Jose Diaz-Gonzalez
224103b181 fix: add missing DOKKU_LIB_HOST_ROOT to ensure plugins work in devcontainer setup 2024-12-16 01:20:54 -05:00
Jose Diaz-Gonzalez
b6f51bdae3 chore: set hostname to dokku.me for devcontainer 2024-10-19 00:58:17 -04:00
Jose Diaz-Gonzalez
03102cd681 tests: ensure pack binary is installed correctly when running tests in a devcontainer 2024-09-28 22:30:09 -04:00
Jose Diaz-Gonzalez
a75c464614 feat: add a helper binary to deploy a test app for local development 2024-02-24 23:46:15 -05:00
Jose Diaz-Gonzalez
35357abc86 fix: ignore go.work when bumping modules 2024-01-18 18:59:22 -05:00
Jose Diaz-Gonzalez
bdee495a0a feat: add golangci-lint to the development environment 2024-01-17 02:28:36 -05:00
Jose Diaz-Gonzalez
555bcbaf1f Merge pull request #6429 from dokku/josegonzalez-patch-1
feat: use go.work for development purposes
2024-01-17 02:20:59 -05:00
Jose Diaz-Gonzalez
823a83fed8 chore: reformat devcontainer file 2024-01-17 02:20:26 -05:00
Jose Diaz-Gonzalez
ddfedfa018 chore: drop installing go modules via go get
This is no longer necessary with the introduction of the go.work file.
2024-01-17 01:22:07 -05:00
Jose Diaz-Gonzalez
422ac72fa4 feat: add ms-azuretools.vscode-docker to devcontainer setup 2024-01-17 01:14:13 -05:00
Jose Diaz-Gonzalez
5e9cb3f157 feat: update all go modules and add a command to bump modules 2023-11-12 19:31:53 -05:00
Jose Diaz-Gonzalez
30b8a25ced feat: upgrade golang to 1.21 2023-10-16 01:10:02 -04:00
Jose Diaz-Gonzalez
6c1d5d650b fix: use updated path for devcontainer vscode extensions 2023-07-16 02:23:07 -04:00
Jose Diaz-Gonzalez
4f9dbd6011 chore: update to go 1.19.6 2023-02-20 16:28:10 -05:00
Jose Diaz-Gonzalez
203dfe249b fix: run shfmt 2023-02-11 06:24:27 -05:00
Jose Diaz-Gonzalez
ab9e2b101e feat: install dev env tools correctly 2023-02-11 06:09:50 -05:00
Jose Diaz-Gonzalez
038eba6785 feat: add fileutils plugin to the devcontainer
This is useful in development when duplicating hooks.
2022-11-24 13:00:40 -05:00
Jose Diaz-Gonzalez
5615765ddc feat: upgrade to go 1.19 everywhere 2022-10-31 13:49:17 -04:00
Jose Diaz-Gonzalez
576f3f407a fix: ignore pushd/popd errors 2022-10-22 17:50:14 -04:00
Jose Diaz-Gonzalez
524ce9b7d7 feat: download all src files for go mod dependencies for use in vscode
Without this, the LSP within the container continually complains that the source for go files cannot be found. While this method isn't _exactly_ correct, it does help with development.
2022-10-22 16:46:49 -04:00
Jose Diaz-Gonzalez
dfcce1c6a6 fix: ensure we install the golang for the correct architecture
TARGETARCH is an automatic build-arg that docker injects - https://docs.docker.com/engine/reference/builder/#automatic-platform-args-in-the-global-scope - so this is safe to depend on.
2022-10-12 21:51:52 -04:00
Jose Diaz-Gonzalez
92d5bd8584 feat: upgrade to golang 1.17.9 2022-04-23 01:02:18 -04:00
Jose Diaz-Gonzalez
d3b01ffb2f refactor: use vscode workspace to better support go modules in devcontainer
This allows gopls to handle autocompletion by setting multiple workspace roots it can traverse for dependencies.
2022-01-22 02:52:08 -05:00
Jose Diaz-Gonzalez
36c0f7c160 chore: update devcontainer to include aliased go packages
These don't get installed by the go list hack for various reasons. While it would be best to download the _exact_ versions in use, installing the "latest" is better than nothing for local development.
2021-11-13 22:07:00 -05:00
Jose Diaz-Gonzalez
02b3b8e7e6 feat: ensure related go source and vscode plugins are installed in devcontainer 2021-11-12 16:41:52 -05:00
Jose Diaz-Gonzalez
9b45aed6f0 dev: add wget to devcontainer to fix shfmt installation 2021-09-29 11:38:16 -04:00
Jose Diaz-Gonzalez
f74b702c5e fix: add os package for copyfiles make target to devcontainer
This ensures 'make copyfiles' can run appropriately within a devcontainer.
2021-09-22 00:25:16 -04:00
Jose Diaz-Gonzalez
d83471bd46 fix: do not delete devcontainers when running tests in a docker container 2021-09-16 00:26:11 -04:00
Jose Diaz-Gonzalez
974f601fa9 dev: speed up devcontainer building by only copying the tests.mk file as Makefile first 2021-09-16 00:26:11 -04:00
Jose Diaz-Gonzalez
4a8ed5cd06 feat: add uuid-runtime to fix random id generation in tests 2021-09-16 00:26:11 -04:00
Jose Diaz-Gonzalez
709d8d411c fix: mount correct path for DOKKU_HOST_ROOT 2021-09-16 00:26:11 -04:00
Jose Diaz-Gonzalez
8877abb83f feat: add support for VSCode Dev Containers
This cannot be used in codespaces due to the extra mount, but it does allow for local development.
2021-09-14 02:22:52 -04:00