v1.0.2
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.org/grpc from 1.64.0 to 1.64.1 by @dependabot in #271
- fix(envbuilder): add /product_uuid and /product_name to IgnorePaths by default by @johnstcn in #274
- chore: refactor options to separate package by @johnstcn in #278
- chore: extract git operations to separate package by @johnstcn in #279
- chore: bump github.com/google/nftables from 0.1.1-0.20230115205135-9aa6fdf5a28c to 0.2.0 by @dependabot in #270
- chore: extract constants package by @johnstcn in #282
- chore: extract option defaults to options package by @johnstcn in #283
- chore: move log package out of internal by @johnstcn in #289
- extract RunCacheProbe function by @johnstcn in #284
- feat: implement repo-mode by @mafredri in #290
- fix: always add COPY directives in DoCacheProbe by @johnstcn in #293
- chore: bump golang.org/x/crypto from 0.24.0 to 0.25.0 by @dependabot in #267
- fix: only use repo mode in cache probe mode by @mafredri in #294
- fix: nil ptr deref in Run and RunCacheProbe by @mafredri in #295
- feat: support starting from an already-built image by @johnstcn in #296
- add hidden remote repo dir option to change clone path by @mafredri in #297
- feat: embed version info into binary by @johnstcn in #298
- chore(deps): update kaniko by @johnstcn in #301
- ci: fix version script and update release.yaml by @johnstcn in #303
- chore: bump github.com/google/go-containerregistry from 0.19.1 to 0.20.2 by @dependabot in #302
- chore: bump github.com/skeema/knownhosts from 1.2.2 to 1.3.0 by @dependabot in #300
- chore(ci): fix issue with checkout action by @johnstcn in #306
- fixup! ci: fix version script and update release.yaml (#303) by @johnstcn in #307
- chore(docs): s/ENVBUILDER_GIT_SSH_KEY_PATH/ENVBUILDER_GIT_SSH_PRIVATE_KEY_PATH/g by @johnstcn in #308
- fix: prevent git progress writer race reading stageNumber by @mafredri in #309
- fix(log): increase coder rpcConnectTimeout to 30s by @johnstcn in #313
- fix(envbuilder): RunCacheProbe: remove references to constants.MagicDir by @johnstcn in #315
- chore: bump golang.org/x/sync from 0.7.0 to 0.8.0 by @dependabot in #310
- chore: bump github.com/docker/docker from 26.1.0+incompatible to 26.1.5+incompatible by @dependabot in #316
- chore: bump golang.org/x/crypto from 0.25.0 to 0.26.0 by @dependabot in #311
- chore(deps): update kaniko to address Docker CVE by @johnstcn in #318
- fix(log): properly set logrus level by @johnstcn in #327
- chore: update kaniko fork to fix multi-stage cache probing by @mafredri in #325
- chore: bump github.com/docker/cli from 27.0.3+incompatible to 27.2.0+incompatible by @dependabot in #329
- chore: update kaniko fork to fix 32-bit ARM build failure by @johnstcn in #330
- chore: bump golang.org/x/mod from 0.18.0 to 0.21.0 by @dependabot in #338
- fix: allow setting MagicDir in Options by @johnstcn in #337
- fix: set DOCKER_CONFIG dynamically by @johnstcn in #336
- chore: remove remote-repo-dir option by @mafredri in #340
- chore(README.md): add notes regarding Coder integration by @johnstcn in #341
- chore(README.md): add instructions for local iteration without a Git repo by @johnstcn in #342
- fix(devcontainer): parse user in multi-stage builds by @mafredri in #343
- feat(git): log parsed gitURL and warn if local by @johnstcn in #345
- chore(docs/docker.md): update docs for DinD with Coder by @johnstcn in #346
- chore: update dind examples to use onCreateCommand by @johnstcn in #350
- fix: improve cached image startup and cache features by @mafredri in #353
- fix: allow caching run layers with no filesystem changes by @mafredri in #355
- fix: update kaniko to add cache fix by @johnstcn in #354
- chore(scripts/diagram.sh): export in PNG format as well by @johnstcn in #356
- docs: improve readme by @BrunoQuaresma in #357
- docs: fix link in readme by @mafredri in #363
- fix: set env and run scripts when starting cached image by @mafredri in #359
- fix: add preExec to Run by @johnstcn in #368
- fix: use openfile to explicitly set magic image perms by @mafredri in #370
- Revert "fix: add preExec to Run (#368)" by @johnstcn in #371
- chore(README.md): remove logo by @johnstcn in #362
- fix: refactor coder logger to allow flush without deadlock by @mafredri in #375
- revert: "fix: refactor coder logger to allow flush without deadlock (#375)" by @mafredri in #376
- reapply: "fix: refactor coder logger to allow flush without deadlock (#375)" by @mafredri in #377
- fix: quote output of init command and args to prevent multiline log by @mafredri in #378
Full Changelog: v0.2.9...v1.0.0