amacneil / buildpack

containerbase buildpack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build status Docker Image Size (latest) GitHub GitHub release (latest SemVer)

containerbase buildpack

This repository is the source for the Docker Hub image containerbase/buildpack. Commits to main branch are automatically built and published.

Local development

You need a recent docker version with buildx >= v0.4.0 plugin installed.

You should use

Base image

If you make changes to the src folder or the Dockerfile, you need to rebuild the containerbase/buildpack image.

docker buildx bake

Test images

To run one of the tests use the following command, it will run the java tests from test/java.

TAG=java docker buildx bake test

For other test images checkout test folder.

Distro test images

To run the bionic tests use the following command, it will run the test from Dockerfile.bionic.

TAG=bionic docker buildx bake test-distro

Apt proxy

You can configure an Apt proxy for the build by specifying an APT_HTTP_PROXY argument.

Example: docker build --build-arg APT_HTTP_PROXY=https://apt.company.com . -t my/image

You can simply export APT_HTTP_PROXY to your local env and our build tools will use your apt proxy for http sources.

Custom base image

To use a custom base image with containerbase/buildpack checkout custom-base-image docs.

Custom Root CA Certificates

To add custom root certifactes to the containerbase/buildpack base image checkout custom-root-ca docs.

About

containerbase buildpack

License:MIT License


Languages

Language:Shell 42.8%Language:Dockerfile 33.4%Language:Ruby 10.6%Language:Elixir 5.5%Language:JavaScript 2.4%Language:HCL 2.2%Language:Swift 2.2%Language:Rust 0.4%Language:Scala 0.3%Language:Python 0.2%Language:C# 0.1%Language:PHP 0.1%