/docker-alpinecpp

alpine based docker images for compiling cpp

Primary LanguageDockerfileMIT LicenseMIT

Alpine cpp docker image

Alpine based images for c++ development.

How to build and push image

docker build -t alpinecpp ./alpinecpp --no-cache
docker tag alpinecpp kracejic/alpinecpp:latest
docker push kracejic/alpinecpp:latest

docker build -t alplinecppheavy ./alpinecppheavy
docker tag alplinecppheavy kracejic/alplinecppheavy:latest
docker push kracejic/alplinecppheavy:latest

docker build -t debiancpp ./debiancpp
docker tag debiancpp kracejic/debiancpp:latest
docker push kracejic/debiancpp:latest

docker build -t fedoracpp ./fedoracpp
docker tag fedoracpp kracejic/fedoracpp:latest
docker push kracejic/fedoracpp:latest

Build behind proxy:

docker build -t alplinecppheavy . --build-arg http_proxy="$http_proxy" --build-arg https_proxy="$https_proxy"

Run image: docker run -it alpinecppheavy Run with proxy: docker run -e "https_proxy=$https_proxy" -e "http_proxy=$http_proxy" -it alpinecppheavy

Run and mount current folder: docker run --mount type=bind,source="$(pwd)",target=/mnt -it latexbuilder