terraform-provider-libvirt/contrib/Alpine
Jim Crowley b276e79243 Fixing spelling mistakes and small grammar errors as well 2019-09-04 11:08:06 -04:00
..
Dockerfile_all_in_one Pulling Docker examples into contrib examples (#1) 2019-08-22 11:39:02 -04:00
Dockerfile_build_dependent Pulling Docker examples into contrib examples (#1) 2019-08-22 11:39:02 -04:00
README.md Fixing spelling mistakes and small grammar errors as well 2019-09-04 11:08:06 -04:00

README.md

Alpine Container

This container is built from the Alpine distribution. This container is meant to serve as a slim down minimalistic container.

NOTE: If pulling from the build containers, make sure to pull from the musl container. Alpine uses musl instead of glibc.

All-in-One Container Build Example

docker build -f Dockerfile_all_in_one -t terraform:development-alpine . --build-arg VERSION=v0.5.2 --build-arg GO_OS=linux --build-arg GO_ARCH=amd64 --build-arg TERRAFORM_VERSION=0.11.14

Build-Dependent Container Build Example

Build appropriate Build container, in this case it would be Dockerfile_musl:

docker build -f Dockerfile_musl -t provider-libvirt:v0.5.2-musl . --build-arg VERSION=v0.5.2

Now build the main container:

docker build -f Dockerfile_build_dependent -t terraform:development-alpine . --build-arg GO_OS=linux --build-arg GO_ARCH=amd64 --build-arg TERRAFORM_VERSION=0.11.14