Skip to content

Releases: coder/envbuilder

v1.1.0

02 Dec 12:31
v1.1.0
a3a6a83
Compare
Choose a tag to compare

What's Changed

🎉 New Features

  • feat(envbuilder.go): add support for build secrets (#391) by @SasSwart

📝 Documentation

🧹 Chores

  • chore: bump github.com/coder/serpent from 0.7.0 to 0.8.0 (#332) by @dependabot
  • chore: remove old custom-certificates.md that has limited docs (#428) by @bpmct
  • fix(envbuilder.go)!: rename MagicDirBase CLI option (#389) by @SasSwart
  • test: enable parallel on more integration tests (#400) by @mafredri

Full Changelog: v1.0.6...v1.1.0

v1.0.6

02 Dec 12:04
v1.0.6
a96ba92
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.0.5...v1.0.6

v1.0.5

31 Oct 12:20
Compare
Choose a tag to compare

Changelog

  • fix: search $DOCKER_CONFIG if no base64 config is provided (#398) dc6aa54

Compare: v1.0.4...v1.0.5

Container image

  • docker pull ghcr.io/coder/envbuilder:1.0.5

v1.0.4

30 Oct 11:40
Compare
Choose a tag to compare

Changelog

  • chore(integration): update TestLogs to validate that CODER_ASGENT_SUBSYSTEM is set correctly (#397) 0ab5052
  • feat: add env var for ssh private key (#396) b2400e8
  • chore(envbuilder.go): rename the concept of a magicDir to workingDir (#388) 179f3c8
  • chore(README.md): add documentation regarding target user (#386) 7756b14

Compare: v1.0.3...v1.0.4

Container image

  • docker pull ghcr.io/coder/envbuilder:1.0.4

v1.0.3

04 Oct 12:26
Compare
Choose a tag to compare

Docker Image:

docker pull ghcr.io/coder/envbuilder:1.0.3

What's Changed

  • fix: extract folder correctly from repo URLs with trailing slash by @mafredri in #381

Full Changelog: v1.0.2...v1.0.3

v1.0.2

02 Oct 09:16
Compare
Choose a tag to compare

Note: This is a re-release of v1.0.0. Releases v1.0.0 and v1.0.1 were skipped due to an issue with our release flow.

Docker Image:

docker pull ghcr.io/coder/envbuilder:1.0.2

What's Changed

  • Add registry mirror environment variable option by @jw910731 in #114
  • Remove envbuilder dependency from devcontainer_test by @aaronlehmann in #115
  • Support providing feature directories in build contexts by @aaronlehmann in #117
  • Work around caching issue by copying extracted feature to an intermediate stage by @aaronlehmann in #118
  • Keep readonly-volume-mounted config.json by @toshikish in #119
  • docs: add example kaniko cache warmer script by @johnstcn in #123
  • feat: locate devcontainer.json in multiple places by @mtojek in #134
  • chore(integration): refactor test git server auth to http mw by @johnstcn in #137
  • chore: add Makefile and local registry cache by @johnstcn in #138
  • feat: allow custom build context to be configured when using DOCKERFILE_PATH by @dannykopping in #139
  • fix: do not inject GIT_USERNAME and GIT_PASSWORD into git clone URL by @johnstcn in #141
  • chore: refactor: add testutil package, add extra git helpers by @johnstcn in #142
  • chore: add dependabot config by @matifali in #146
  • docs: branch selection by @mtojek in #154
  • refactor: refactor envbuilder to use coder/serpent as CLI engine by @BrunoQuaresma in #140
  • feat: auto add flags docs into the README by @BrunoQuaresma in #147
  • fix: avoid deleting root filesystem when KANIKO_DIR not set by @johnstcn in #160
  • chore(deps): bump golang.org/x/net from 0.20.0 to 0.23.0 by @dependabot in #133
  • chore: bump github.com/stretchr/testify from 1.8.4 to 1.9.0 by @dependabot in #152
  • test: add test for options env by @BrunoQuaresma in #161
  • test: test options CLI output by @BrunoQuaresma in #162
  • chore: bump github.com/go-git/go-git/v5 from 5.11.0 to 5.12.0 by @dependabot in #149
  • chore: bump golang.org/x/sync from 0.6.0 to 0.7.0 by @dependabot in #150
  • chore: bump github.com/docker/cli from 23.0.5+incompatible to 26.1.0+incompatible by @dependabot in #151
  • chore: pass logger to maybeDeleteFilesystem by @johnstcn in #165
  • chore: move CODER_ environment variables to CLI options by @johnstcn in #167
  • chore: add CLI flags to auto-generated docs by @johnstcn in #168
  • chore: warn if docker secret cleanup fails by @BrunoQuaresma in #163
  • chore: add comments into the Options fields by @BrunoQuaresma in #171
  • feat: support cloning over SSH via private key auth by @johnstcn in #170
  • fix: use serpent.String instead of serpent.URL for CODER_AGENT_URL by @johnstcn in #173
  • chore: format go code using gofumpt by @BrunoQuaresma in #172
  • ci: use setup-go builtin cache by @matifali in #176
  • chore: bump golang.org/x/crypto from 0.21.0 to 0.22.0 by @dependabot in #177
  • chore: improve fmt scripts by @BrunoQuaresma in #179
  • feat: prefix env variables with ENVBUILDER by @BrunoQuaresma in #180
  • feat: temporarily remount read-only mounts before cleaning container fs by @johnstcn in #183
  • integration: check for test registry on start by @johnstcn in #189
  • fix: ensure prefixed commands do not clobber legacy default values by @johnstcn in #190
  • fix: fix git url parsing by @BrunoQuaresma in #188
  • chore: add docs re docker inside envbuilder-built-envs by @johnstcn in #191
  • fix: replace whilp/git-urls with chainguard-dev/git-urls by @johnstcn in #192
  • chore: remove codersdk dependency by @johnstcn in #194
  • chore: fix test-registry Makefile target by @johnstcn in #196
  • chore: update kaniko fork by @johnstcn in #195
  • ci: update workflows to go 1.22 by @johnstcn in #199
  • chore: update README with ENVBUILDER_ prefix by @johnstcn in #203
  • fix: revert setting default UserID and GroupID to 0:0 by @johnstcn in #202
  • fix: update go.mod after merge by @johnstcn in #204
  • feat: Accept custom LookupEnv function in SubstituteVars by @aaronlehmann in #206
  • chore: update kaniko fork to support layer extraction progress by @mafredri in #207
  • chore: add update-kaniko-fork to Makefile by @mafredri in #208
  • chore: bump golang.org/x/crypto from 0.22.0 to 0.23.0 by @dependabot in #182
  • chore: bump github.com/prometheus/procfs from 0.12.0 to 0.15.0 by @dependabot in #201
  • chore: bump github.com/fatih/color from 1.16.0 to 1.17.0 by @dependabot in #200
  • fix: use correct ref and path for features when useBuildContexts is true by @mafredri in #205
  • chore: add update-golden-files to Makefile by @mafredri in #214
  • chore: update docs of ENVBUILDER_GIT_URL to mention devcontainer by @johnstcn in #215
  • docs: document unsupported features by @mtojek in #219
  • feat: expose runtime markers by @mtojek in #223
  • chore: Upgrade github.com/distribution/distribution/v3 by @aaronlehmann in #224
  • chore: fix typo in Makefile by @johnstcn in #227
  • ci: build and push image for main branch by @matifali in #222
  • chore(README.md): add multi-stage builds to unsupported devcontainer features by @johnstcn in #232
  • feat: implement reproducible build and get cached image by @mafredri in #213
  • chore: integration: add test for pushing to cache repo that requires auth by @johnstcn in #233
  • chore(README): add note regarding compose by @johnstcn in #237
  • chore: bump golang.org/x/crypto from 0.23.0 to 0.24.0 by @dependabot in #228
  • fix: update ownership of user homedir by @johnstcn in #238
  • fix: fix unsetOptionsEnv, add integration test by @johnstcn in #242
  • Fix FeatureContexts keys by @aaronlehmann in #243
  • feat: embed binary in image when pushing image by @BrunoQuaresma in #234
  • Use a deterministic target path for feature dir mounts with useBuildContexts by @aaronlehmann in #247
  • fix(devcontainer): correctly parse feature with digest by @maxbrunet in #248
  • feat: set user, workdir, entrypoint when pushing image by @johnstcn in #246
  • fix(remount): ensure mountpoint is a file for files by @maxbrunet in #249
  • feat: prefix cached image with ENVBUILDER_CACHED_IMAGE in log output by @johnstcn in #251
  • fix(remount): relocate libraries along with their symlinks by @maxbrunet in #255
  • fix: add usrLibMultiarchDir for 32-bit ARM, whatever that means by @johnstcn in #258
  • ci: add linters, run linters, make linters happy by @johnstcn in #261
  • fix(remount): correct usrLibMultiarchDir value for 32-bit ARM by @maxbrunet in #259
  • docs(readme): correct dockerconfig mount path by @maxbrunet in #263
  • feat: send logs using agent api v2 if available by @johnstcn in #264
  • chore: update kaniko fork for better cache probing by @mafredri in #273
  • chore: bump google.golang.o...
Read more

v1.0.0-rc.0

28 Jun 14:40
v1.0.0-rc.0
ed52e3c
Compare
Choose a tag to compare
v1.0.0-rc.0 Pre-release
Pre-release

Docker Image:

$ docker pull ghcr.io/coder/envbuilder:1.0.0-rc.0

What's Changed

  • Add registry mirror environment variable option by @jw910731 in #114
  • Remove envbuilder dependency from devcontainer_test by @aaronlehmann in #115
  • Support providing feature directories in build contexts by @aaronlehmann in #117
  • Work around caching issue by copying extracted feature to an intermediate stage by @aaronlehmann in #118
  • Keep readonly-volume-mounted config.json by @toshikish in #119
  • docs: add example kaniko cache warmer script by @johnstcn in #123
  • feat: locate devcontainer.json in multiple places by @mtojek in #134
  • chore(integration): refactor test git server auth to http mw by @johnstcn in #137
  • chore: add Makefile and local registry cache by @johnstcn in #138
  • feat: allow custom build context to be configured when using DOCKERFILE_PATH by @dannykopping in #139
  • fix: do not inject GIT_USERNAME and GIT_PASSWORD into git clone URL by @johnstcn in #141
  • chore: refactor: add testutil package, add extra git helpers by @johnstcn in #142
  • chore: add dependabot config by @matifali in #146
  • docs: branch selection by @mtojek in #154
  • refactor: refactor envbuilder to use coder/serpent as CLI engine by @BrunoQuaresma in #140
  • feat: auto add flags docs into the README by @BrunoQuaresma in #147
  • fix: avoid deleting root filesystem when KANIKO_DIR not set by @johnstcn in #160
  • chore(deps): bump golang.org/x/net from 0.20.0 to 0.23.0 by @dependabot in #133
  • chore: bump github.com/stretchr/testify from 1.8.4 to 1.9.0 by @dependabot in #152
  • test: add test for options env by @BrunoQuaresma in #161
  • test: test options CLI output by @BrunoQuaresma in #162
  • chore: bump github.com/go-git/go-git/v5 from 5.11.0 to 5.12.0 by @dependabot in #149
  • chore: bump golang.org/x/sync from 0.6.0 to 0.7.0 by @dependabot in #150
  • chore: bump github.com/docker/cli from 23.0.5+incompatible to 26.1.0+incompatible by @dependabot in #151
  • chore: pass logger to maybeDeleteFilesystem by @johnstcn in #165
  • chore: move CODER_ environment variables to CLI options by @johnstcn in #167
  • chore: add CLI flags to auto-generated docs by @johnstcn in #168
  • chore: warn if docker secret cleanup fails by @BrunoQuaresma in #163
  • chore: add comments into the Options fields by @BrunoQuaresma in #171
  • feat: support cloning over SSH via private key auth by @johnstcn in #170
  • fix: use serpent.String instead of serpent.URL for CODER_AGENT_URL by @johnstcn in #173
  • chore: format go code using gofumpt by @BrunoQuaresma in #172
  • ci: use setup-go builtin cache by @matifali in #176
  • chore: bump golang.org/x/crypto from 0.21.0 to 0.22.0 by @dependabot in #177
  • chore: improve fmt scripts by @BrunoQuaresma in #179
  • feat: prefix env variables with ENVBUILDER by @BrunoQuaresma in #180
  • feat: temporarily remount read-only mounts before cleaning container fs by @johnstcn in #183
  • integration: check for test registry on start by @johnstcn in #189
  • fix: ensure prefixed commands do not clobber legacy default values by @johnstcn in #190
  • fix: fix git url parsing by @BrunoQuaresma in #188
  • chore: add docs re docker inside envbuilder-built-envs by @johnstcn in #191
  • fix: replace whilp/git-urls with chainguard-dev/git-urls by @johnstcn in #192
  • chore: remove codersdk dependency by @johnstcn in #194
  • chore: fix test-registry Makefile target by @johnstcn in #196
  • chore: update kaniko fork by @johnstcn in #195
  • ci: update workflows to go 1.22 by @johnstcn in #199
  • chore: update README with ENVBUILDER_ prefix by @johnstcn in #203
  • fix: revert setting default UserID and GroupID to 0:0 by @johnstcn in #202
  • fix: update go.mod after merge by @johnstcn in #204
  • feat: Accept custom LookupEnv function in SubstituteVars by @aaronlehmann in #206
  • chore: update kaniko fork to support layer extraction progress by @mafredri in #207
  • chore: add update-kaniko-fork to Makefile by @mafredri in #208
  • chore: bump golang.org/x/crypto from 0.22.0 to 0.23.0 by @dependabot in #182
  • chore: bump github.com/prometheus/procfs from 0.12.0 to 0.15.0 by @dependabot in #201
  • chore: bump github.com/fatih/color from 1.16.0 to 1.17.0 by @dependabot in #200
  • fix: use correct ref and path for features when useBuildContexts is true by @mafredri in #205
  • chore: add update-golden-files to Makefile by @mafredri in #214
  • chore: update docs of ENVBUILDER_GIT_URL to mention devcontainer by @johnstcn in #215
  • docs: document unsupported features by @mtojek in #219
  • feat: expose runtime markers by @mtojek in #223
  • chore: Upgrade github.com/distribution/distribution/v3 by @aaronlehmann in #224
  • chore: fix typo in Makefile by @johnstcn in #227
  • ci: build and push image for main branch by @matifali in #222
  • chore(README.md): add multi-stage builds to unsupported devcontainer features by @johnstcn in #232
  • feat: implement reproducible build and get cached image by @mafredri in #213
  • chore: integration: add test for pushing to cache repo that requires auth by @johnstcn in #233
  • chore(README): add note regarding compose by @johnstcn in #237
  • chore: bump golang.org/x/crypto from 0.23.0 to 0.24.0 by @dependabot in #228
  • fix: update ownership of user homedir by @johnstcn in #238
  • fix: fix unsetOptionsEnv, add integration test by @johnstcn in #242
  • Fix FeatureContexts keys by @aaronlehmann in #243
  • feat: embed binary in image when pushing image by @BrunoQuaresma in #234
  • Use a deterministic target path for feature dir mounts with useBuildContexts by @aaronlehmann in #247
  • fix(devcontainer): correctly parse feature with digest by @maxbrunet in #248
  • feat: set user, workdir, entrypoint when pushing image by @johnstcn in #246
  • fix(remount): ensure mountpoint is a file for files by @maxbrunet in #249
  • feat: prefix cached image with ENVBUILDER_CACHED_IMAGE in log output by @johnstcn in #251

New Contributors

Full Changelog: v0.2.9...v1.0.0-rc.0