Rules Docker Versions Save

Rules for building and handling Docker images with Bazel

v0.15.0

3 years ago

Copy the following into your WORKSPACE file to use rules_docker at release v0.15.0

http_archive(
    name = "io_bazel_rules_docker",
    sha256 = "1698624e878b0607052ae6131aa216d45ebb63871ec497f26c67455b34119c80",
    strip_prefix = "rules_docker-0.15.0",
    urls = ["https://github.com/bazelbuild/rules_docker/releases/download/v0.15.0/rules_docker-v0.15.0.tar.gz"],
)

Changes:

  1. Use bash from the environment instead of absolute path (#1660)
  2. Remove Travis integration (#1656)
  3. Update distroless dependencies (#1655)
  4. Update for compatibility with rules_python 0.1 (#1650)
  5. Add rubensf@ to OWNERS (#1647)
  6. Update owners (#1646)
  7. Add s390x support for puller and loader binaries (#1645)
  8. Reduce build verbosity of container_run_and_commit (#1640)
  9. Plumb constraints thru container_test (#1639)
  10. Support container_push on Windows. (#1637)
  11. For gzip operations, use a new Go helper by default instead of which(gzip) (#1612)
  12. Add Linux ARM64 go pusher and loader binaries to cloudbuild (#1610)
  13. Fix the root directory when building for Linux on Windows. (#1609)
  14. Update puller and loader locations and sequencing in cloudbuild (#1608)
  15. Update dependency bazel_gazelle to v0.22.2- autoclosed (#1606)
  16. Revert "Add Linux ARM64 go pusher and loader binaries to cloudbuild (… (#1605)
  17. Revert "Update shas and force tarball format (#1596)" (#1604)
  18. Simplify reading the digest file obtained when pulling a Docker image (#1600)
  19. Add Linux ARM64 go pusher and loader binaries to cloudbuild (#1598)
  20. [WIP] test (#1597)
  21. Renamed pip_deps to container_pip_deps (#1576)
  22. Change image rule to copy config instead of symlink (#1571)
  23. [Update] go-containerregistry to fix container_bundle rule (#1569)
  24. Update dependency build_bazel_rules_nodejs to v2 - autoclosed (#1568)
  25. Update dependency @bazel/typescript to v2 - autoclosed (#1566)
  26. Update dependency io_bazel_rules_go to v0.24.2 (#1564)
  27. feat(toolchain): add xz_target for remote execution (#1558)
  28. Add archive manipulation logic from rules_pkg (#1556)
  29. Update pip setup in README (#1552)
  30. Update README for release v0.14.4 (#1549)

v0.14.4

3 years ago
  • Dont write incremental tarball to disk (#1537)
  • Remove unused dep (#1536)
  • Revert to using gflags but use it from a pips package instead of Bazel Tools (#1535)
  • Migrate to use absl from gflags (#1534)
  • Update dependency com_github_google_go_containerregistry to v0.1.1 (#1532)
  • Update node version (#1531)
  • Update dependency io_bazel_rules_go to v0.23.3 (#1530)
  • Update dependency com_github_google_go_containerregistry to v0.1.0 (#1529)
  • Update go dependency & Bazel test image (#1528)
  • Update debs attr doc & other minor fixes (#1527)
  • Populate list of instrumented files for coverage in container_image_ (#1526)
  • Update README for v0.14.3 release (#1525)

v0.14.3

3 years ago

Fixes

  • update puller and loader binaries to pich up #1509 (#1517)
  • Switch arbitrary run instruction to python3 (#1522)
  • Update README for 0.14.2. Fixes #1515 (#1516)
  • Exposing external base image properties (as provider fields) (#1507)
  • Updated go-containerregistry version (#1509)

v0.14.2

3 years ago

Fixes

  • Fix sha256 for bazel-release.pub.gpg (#1513)
  • Convert a few targets/tests to python 3 (#1505)
  • Update dependency typescript to v3.9.2 (#1502)
  • Update dependency bazel_gazelle to v0.21.0 (#1500)
  • Fix bug in image puller execution timeout (#1495)
  • Correctly read users' enable_mtime_preservation config (#1491)
  • Update node pins (#1490)
  • Allow users to opt into mtime preservation (#1489)
  • Revert "Enable mtime preservation in tar file building process (#1485)" (#1488)
  • Enable mtime preservation in tar file building process (#1485)
  • Update one remaining reference to deprecated rules pkg (#1484)
  • Use rules_pkg repository instead of deprecated pkg files (#1483)
  • Sync with internal change (#1481)
  • java_files() already returns a depset, don't wrap the return value in (#1480)
  • Inject docker headers for container pushes (#1477)
  • Update dependency jsesc to v3 (#1475)
  • Update dependency bazel_toolchains to v3 (#1474)
  • Update dependency io_bazel_rules_go to v0.22.4 (#1473)
  • Update dependency @types/node to v12.12.35 (#1469)
  • Fix puller timeout argument (#1467)
  • Update dependency @types/node to v12.12.30 (#1463)
  • Sync with internal change (#1462)
  • Sync with internal change (#1461)
  • chore(deps): update dependency in_gopkg_yaml_v2 to v2 (#1459)
  • chore(deps): update dependency build_bazel_rules_nodejs to v1.4.1 (#1456)
  • fix(deps): update dependency @bazel/typescript to v1.4.1 (#1455)
  • docs(container image): add info for cmd and entrypoint regarding "" & [] (#1453)
  • Fix CI failures due to Clang 10 -> 11 upgrade (#1450)
  • Fixed passing data to app_layer in nodejs_image (#1449)
  • Update dependency typescript to v3.8.3 (#1446)
  • Update dependency io_bazel_rules_go to v0.22.2 (#1445)
  • Update dependency bazel_toolchains to v2.2.0 (#1444)
  • Update dependency @types/node to v12.12.29 (#1443)
  • pass tag/visiblity to nodejs_image dep layers (#1437)
  • Update dependency typescript to v3.8.2 (#1434)
  • Update rules_python commit hash to dd7f9c5 (#1433)
  • Update io_bazel_rules_rust commit hash to 6e87304 (#1432)
  • Update io_bazel_rules_d commit hash to 7e3bab5 (#1431)
  • Plumb os.version through container image config files. (#1430)
  • Allow setting compression method and options. (#1428)
  • Expose architecture in container_image (#1427)
  • Update io_bazel_rules_groovy commit hash to 70f85ea (#1426)
  • Update dependency io_bazel_rules_go to v0.21.3 (#1424)
  • Update dependency @types/node to v12.12.28 (#1423)
  • Update io_bazel_rules_scala commit hash to 0366fb2 (#1422)
  • Update dependency bazel_toolchains to v2.1.0 (#1418)
  • Update dependency build_bazel_rules_nodejs to v1.3.0 (#1417)
  • Update dependency bazel_toolchains to v2.0.5 (#1416)
  • Update dependency bazel_gazelle to v0.20.0 (#1415)
  • Update rules_scala (#1412)
  • Update dependency io_bazel_rules_go to v0.21.2 (#1411)
  • Update dependency build_bazel_rules_nodejs to v1.2.4 (#1410)
  • Update dependency bazel_toolchains to v2.0.4 (#1409)
  • Update dependency @types/node to v12.12.26 (#1408)
  • Update io_bazel_rules_rust commit hash to e0dcca4 (#1407)
  • Update io_bazel_rules_d commit hash to c442972 (#1406)
  • Update io_bazel_rules_scala commit hash to 0cb1d71 (#1402)
  • Update io_bazel_rules_scala commit hash to a7a20a0 (#1401)
  • Update dependency build_bazel_rules_nodejs to v1.2.0 (#1400)
  • Update dependency bazel_toolchains to v2.0.3 (#1399)
  • Update dependency @bazel/typescript to v1.3.0 (#1398)
  • Update io_bazel_rules_scala commit hash to 4fefaaa (#1397)
  • Create kotlin_jvm_image rule (#1396)
  • update alpine sha (#1394)
  • Declare PATH environment variable as a dependency. (#1391)
  • Update dependency @types/node to v12.12.25 (#1390)
  • Update dependency typescript to v3.7.5 (#1388)
  • Update dependency @bazel/typescript to v1.1.0 (#1387)
  • Pin dependencies (#1386)
  • Update dependency com_github_pkg_errors to v0.9.1 (#1383)
  • Update dependency bazel_gazelle to v0.19.1 (#1382)
  • Update io_bazel_rules_scala commit hash to 5a55e51 (#1381)
  • Update README.md for v0.14.1 (#1380)

v0.14.1

4 years ago

v0.14.0

4 years ago

Fixes

update rules scala to pick up maven to https change (#1375) Remote docker host (#1228) remove par file that was checked in by mistake (#1372) Get build args from eviron in dockerfile build (#1369) Path join issues in contrib/dockerfile_build.bzl (#1367) Update io_bazel_rules_groovy commit hash to 06ce250 (#1368) update rules_groovy call to repositories.bzl (#1366) Update dependency build_bazel_rules_nodejs to v1.1.0 (#1362) update puller and loader binaries to pich up #1359 (#1365) Add http(s)_proxy env var support to puller (#1359) Use 'portable' mtime as default for tars, like rules_pkg does (#1302) Update dependency com_github_pkg_errors to v0.9.0 (#1363) Update dependency io_bazel_rules_go to v0.21.0 (#1364) Update dependency bazel_toolchains to v2.0.2 (#1361) Revert "Change to using python 3 in host configuration (#1318)" (#1360) Change to using python 3 in host configuration (#1318) Add Canva to adopters list (#1358) update_deps in Go (#1357) Update dependency build_bazel_rules_nodejs to v1.0.1 (#1351) Revert "Add robot_email attr to container push bzl rules (#1353)" (#1355) Add robot_email attr to container push bzl rules (#1353) Sync with internal change (#1352) Update io_bazel_rules_scala commit hash to bd0c388 (#1348) Update dependency build_bazel_rules_nodejs to v1 (#1340) Update dependency bazel_toolchains to v2 (#1339) Update io_bazel_rules_scala commit hash to cfff088 (#1338) Update README for release v0.13.0 (#1326) Update dependency bazel_toolchains to v1.2.4 (#1320) Update io_bazel_rules_rust commit hash to 959ba56 (#1321)

v0.13.0

4 years ago

Fixes

  • Update rules_nodejs to 0.42.3 (#1324)
  • Update io_bazel_rules_rust commit hash to 959ba56 (#1321)
  • Update dependency bazel_toolchains to v1.2.4 (#1320)
  • Add digest field back to to PushInfo (#1315)
  • Update dependency io_bazel_rules_go to v0.20.3 (#1313)
  • Update dependency bazel_toolchains to v1.2.2 (#1312)
  • Update rules_python commit hash to 38f86fb (#1311)
  • Add note about go_image on Mac (#1309)
  • Sync with internal change (#1308)
  • Update rules_groovy to prepare for Bazel 2.0 (#1307)
  • Update io_bazel_rules_scala commit hash to 886bc9c (#1306)
  • Update dependency bazel_toolchains to v1.2.1 (#1304)
  • Update io_bazel_rules_scala commit hash to e568402 (#1303)
  • Sync with internal change (#1301)
  • move python modules out of bzl file (#1299)
  • Sync with internal change (#1298)
  • Update dependency bazel_toolchains to v1.2.0 (#1295)
  • Update io_bazel_rules_scala commit hash to ff57530 (#1294)
  • Update io_bazel_rules_rust commit hash to 3251240 (#1293)
  • Fix ordering of docker entrypoint and entrypoint prefix (#1291)
  • Move tests that use 'docker' to GCB (#1290)
  • Update rules_python commit hash to 9467740 (#1289)
  • Deprecate the Kaniko tool to build images from Dockerfile (#1288)
  • Update dependency bazel_toolchains to v1.1.2 (#1279)
  • install_pkgs uses named volumes to work with DIND. (#1277)
  • Replace merge_dicts with dicts.add (#1276)
  • added support for user defined tags on generated container_import r… (#1274)
  • define gzip in the docker toolchain not as a local tool (#1272)
  • config_stripper no longer stores full file in RAM. (#1271)
  • Update rules_python commit hash to 7b222cf (#1270)
  • Update io_bazel_rules_scala commit hash to 26cf9b7 (#1269)
  • Update dependency bazel_toolchains to v1.1.1 (#1268)
  • Update io_bazel_rules_rust commit hash to ec436b5 (#1267)
  • Dont assume docker path in image util (#1262)
  • Make config stripper handle image tarballs with symlinked layers (#1261)
  • Format README to sync with internal repo (#1260)
  • Update dependency io_bazel_rules_go to v0.20.2 (#1259)
  • Update rules_python commit hash to a610ace (#1258)
  • Update io_bazel_rules_rust commit hash to b94d3a4 (#1257)
  • Update rules_python commit hash to 230f6d1 (#1252)
  • Fix rules_go mirror URL (#1251)
  • Update README for release v0.12.1 (#1249)

v0.12.1

4 years ago

Fixes

  • Fix pip in py3_image (#1244)
  • update bazel-toolchains and fix reference to exec_propertiers: (#1238)
  • Added Documentation for container_layer for empty_dirs (#1237)
  • Add new adopter (#1236)
  • Update dependency io_bazel_rules_go to v0.20.1 (#1234)
  • Update rules_python commit hash to f46e953 (#1233)
  • Update io_bazel_rules_scala commit hash to 0f89c21 (#1232)
  • update go containerregistry (#1230)
  • Make pusher emit error if client config is not a valid directory (#1229)
  • Fixes for python use in download_pkgs (#1226)
  • Update go-containerregistry to fix panic in image tarball writer (#1225)
  • Support timeout in Go puller & add test (#1222)
  • Support timeout in puller binary (#1221)
  • Fix reference to //platforms to include @io_bazel_rules_docker (#1218)
  • Update dependency bazel_toolchains to v1 (#1214)
  • Update dependency io_bazel_rules_go to v0.19.5 (#1213)
  • Update rules_python commit hash to 5aa465d (#1211)
  • Update io_bazel_rules_scala commit hash to b2273e7 (#1210)
  • Update io_bazel_rules_rust commit hash to 29acd8f (#1209)
  • making changes to simplify py toolchains (#1206)
  • testing changes to platforms to enable #1203 to work (#1205)
  • update container dependencies (#1202)
  • Fix writing uncompressed images & add test (#1201)
  • Support env vars that contain '=' (#1200)
  • update go containerregistry for #1193 (#1197)
  • Update README & bazelrc (#1195)

v0.12.0

4 years ago

container_pull, container_layer, container_image, container_flatten and container_push now use Go binaries based on github.com/google/go-containerregistry instead of github.com/google/containerregistry.

Fixes

  • Final fixes for mac using toolchains properly in py_binary target with bazel head (#1191)
  • fixing rules_docker with bazel head (#1190)
  • Remove references to python binaries using python containerregistry (#1189)
  • Update README.md (#1188)
  • Deprecate python puller, loader & pusher. (#1186)

v0.11.1

4 years ago

New Rules

Features

Fixes

  • fix bug in toolchain_layers.bzl (#1183)
  • fix rules_docker with bazel head (#1182)
  • Update README for release v0.11.0 (#1181)
  • Update dependency bazel_toolchains to v0.29.8 (#1179)
  • Update rules_python commit hash to e953b0a (#1178)
  • Update io_bazel_rules_scala commit hash to f985e5e (#1177)