Skip to content

Tags: dprotaso/rules_docker

Tags

v0.5.1

Toggle v0.5.1's commit message
Fix @bazel_source archive sha. (bazelbuild#501)

Fix bazelbuild#500.

v0.5.0

Toggle v0.5.0's commit message
Adding Basic Support for Windows Docker Images (bazelbuild#493)

container_import
Added a parameter called “manifest”. This allows Bazel to import a Windows base image without checking in GBs of tar files. All that is needed is the config and manifest files from the base Windows image. The layers parameter should be an empty list.

container_import(
name = "windowsservercore_1803",
config = "windowsservercore.1803.config.json",
manifest = "windowsservercore.1803.manifest.json",
layers = []
)

container_image
Added an optional parameter to docker_build called “operating_system.” While most of the changes are foreign layer specific, two changes were required to address Windows specifically.

There is no support for adding registry diffs, but diffs in existing layers will be respected and continue to work.

container_image(
name = "basic_windows_image",
base = ":import_windows_base_image",
cmd = ['bar.exe'],
files = [":bar.exe"]
operating_system = "windows",
)

* Adding basic support for Windows Docker images.
Does not support adding new registry delta's, but will work with
base images that already have registry deltas.

* Changing container_import to use
application/vnd.docker.distribution.manifest.v2+json instead of
application/vnd.docker.distribution.manifest.list.v2+json as the input.

* Using archive.py from http_archive.  To be removed when bazel 0.17,0 is released

v0.4.0

Toggle v0.4.0's commit message
containerregistry v0.0.24 -> v0.0.25 (bazelbuild#318)

Fixes: bazelbuild#314

puller and importer checksums generated by:
curl https://storage.googleapis.com/containerregistry-releases/v0.0.25/(puller, importer).par | sha256sum

v0.3.0

Toggle v0.3.0's commit message
Merge pull request bazelbuild#175 from mattmoor/ease-import

Tweak the manner in which we alias things.

v0.2.1

Toggle v0.2.1's commit message
Merge pull request bazelbuild#162 from mattmoor/fix-push-all

Fix the runfiles path of the subcommands of push-all.bzl

v0.2.0

Toggle v0.2.0's commit message
Merge pull request bazelbuild#160 from mattmoor/jvm-flags

Make java_image respect jvm_flags

v0.1.0

Toggle v0.1.0's commit message
Merge pull request bazelbuild#97 from mattmoor/fork-tar

Fork build_tar.py

v0.0.2

Toggle v0.0.2's commit message
Merge pull request bazelbuild#61 from bazelbuild/drop-legacy

In an effort to start simplifying these rules…

v0.0.1

Toggle v0.0.1's commit message
Merge pull request bazelbuild#23 from bazelbuild/expanded-badges

Expand the badges displayed