This repository contains a set of rules for pulling down base images, augmenting them with build artifacts and assets, and publishing those images. These rules do not require / use Docker for pulling, building, or pushing images. These rules used to be docker_build, docker_push, etc. and the aliases for these (mostly) legacy names still exist largely for backwards-compatibility. We also have early-stage oci_image, oci_push, etc. aliases for folks that enjoy the consistency of a consistent rule prefix. The only place the format-specific names currently do any more than alias things is in foo_push, where they also specify the appropriate format as which to publish the image. They can be used to develop Docker containers on OSX without boot2docker or docker-machine installed. Note use of these rules on Windows is currently not supported. Also, unlike traditional container builds (e.g. Dockerfile), the Docker images produced by container_image are deterministic / reproducible.

Features

  • Generated API documentation is in the docs folder
  • In addition to low-level rules for building containers, this repository provides a set of higher-level rules for containerizing applications
  • Use with Docker locally
  • You can use these rules to access private images using standard Docker authentication methods
  • Varying image names
  • For Python and Java's lang_image rules, you can factor dependencies that don't change into their own layers

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow Bazel Container Image Rules

Bazel Container Image Rules Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Bazel Container Image Rules!

Additional Project Details

Programming Language

Go

Related Categories

Go Software Development Software

Registered

2023-02-17