A docker image based on Ubuntu 20 with VCPKG (in /opt/vcpkg) and boost (vcpkg install boost). This image is huge, around 8 GB (1.65 GB compressed)
Build and tag, using the current date.
docker build -t antiteum/vcpkg .
docker tag antiteum/vcpkg antiteum/vcpkg:20200510
Publish:
docker push antiteum/vcpkg
In order to create an image, let's do it iteratively:
- Create an base docker file
- Enter into the container in a bash session
- Try the commands
- Consolidate all the commands in the final Dockerfile
For example:
FROM ubuntu:20.04
RUN apt-get update
Then:
docker build -t antiteum/vcpkg .
And enter into it:
docker run -it --entrypoint /bin/bash antiteum/vcpkg