TriggerMail / rules_pyz

Bazel Python rules that package everything in an executable zip
Apache License 2.0
29 stars 19 forks source link

pyz_image: Rule to package a pyz_binary into a Docker image #31

Closed evanj closed 6 years ago

evanj commented 6 years ago

Uses rules_docker and the distroless base image. This adds bug fixes for known distroless Python image bugs, as well as a test to verify them. Running these tests will require Docker to be installed, which violates some of Bazel's hermetic guarantees.

circleci.sh: add --keep_going to generate all build errors; Ignore targets that don't work on CircleCI since they depend on Docker output