8000 GitHub - jonnrb/build_containers: Containers I use to build stuff
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

jonnrb/build_containers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

build_containers Build Status

Containers I use to build stuff

So I recently (about 10 minutes ago) found out about multi-stage container builds and this totally changes the game for me. I used to be a lazy person and just bundle the container with all the build artifacts. Then I got a little sophisticated and started building a container inside another container, but this is just a hacky multi-stage build so #!$@ that!

Here's what I've got so far:

  • bazel_cc: A recent Linux distro (Ubuntu Xenial) with a recent Bazel version (0.9.0) and a recent version of gcc and g++ (7). Just add your source to /src, build your cc_binary (either fully static or in a distroless image), and ship!

    NOTE: Run dbazel instead (to use --batch which speeds things up)

About

Containers I use to build stuff

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0