Sign inSign up

acgetchell/vcpkg-image

By acgetchell

•Updated about 3 years ago

Image
1

3.7K

acgetchell/vcpkg-image repository overview

⁠vcpkg-image

A small Alpine⁠ or Ubuntu⁠ Linux image with gcc-13⁠ and vcpkg⁠, plus prerequisites to install packages such as gmp, boost, and cgal.

vcpkg⁠ is located in /vcpkg (available via $VCPKG_ROOT), and user-wide integration (vcpkg integrate install) has been applied. vcpkg⁠ is also required to use system-installed CMake⁠ and Ninja⁠ rather than downloading it's own copies.

As vcpkg⁠ requires CMake⁠ 3.21 or later, the latest stable version of CMake⁠ is downloaded and installed.

CMake⁠ projects should use:

"-D CMAKE_TOOLCHAIN_FILE=$VCPKG_ROOT/scripts/buildsystems/vcpkg.cmake"

⁠Building

docker build -t vcpkg-image .

⁠Running

docker run -it --name vcpkg vcpkg-image

For background see Using multi-stage containers for C++ development⁠.

Tag summary

Content type

Image

Digest

sha256:34bcbf373…

Size

507.1 MB

Last updated

about 3 years ago

docker pull acgetchell/vcpkg-image