Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Use a pinned devcontainer base image version #50

Merged
merged 1 commit into from
Aug 13, 2020

Conversation

johnboyes
Copy link
Contributor

We want to pin to the most specific version we can, to ensure that the
devcontainer builds are always reproducible.

This is despite the general guidance from Microsoft for these images
being to use "the major release version of this tag to avoid breaking
changes while still taking fixes and content additions as they land.
e.g. 0-buster"

We will still take fixes and content additions as they land, as we use
Dependabot to keep us up to date. Dependabot will create a PR whenever
there is a new version of the base image, and we then manually apply and
test it (details on how to do this are in the DEPENDENCIES.md).

See also this documentation on the base image versions

@johnboyes johnboyes added the patch Semantic versioning: backwards compatible bug fixes label Aug 13, 2020
@johnboyes johnboyes force-pushed the docker-image-dependency branch from da51b50 to e667b27 Compare August 13, 2020 17:38
We want to pin to the most specific version we can, to ensure that the
devcontainer builds are always reproducible.

This is despite the general guidance from Microsoft for these images
being to use ["the major release version of this tag to avoid breaking
changes while still taking fixes and content additions as they land.
e.g. `0-buster`"][1]

We will still take fixes and content additions as they land, as we use
Dependabot to keep us up to date.  Dependabot will create a PR whenever
there is a new version of the base image, and we then manually apply
that new version to the `devcontainer.json` (full details on how to do
this are in the `DEPENDENCIES.md`).

See also [this documentation on the base image versions][2]

[1]: https://hub.docker.com/_/microsoft-vscode-devcontainers?tab=description
[2]: https://github.com/microsoft/vscode-dev-containers/tree/master/containers/debian#using-this-definition-with-an-existing-folder
@johnboyes johnboyes force-pushed the docker-image-dependency branch from e667b27 to fa202c1 Compare August 13, 2020 17:44
@johnboyes johnboyes merged commit aa44848 into main Aug 13, 2020
@johnboyes johnboyes deleted the docker-image-dependency branch August 13, 2020 17:48
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
patch Semantic versioning: backwards compatible bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant