Sign inSign up

fuming/cpp_build

By fuming

•Updated over 2 years ago

This is an alpine image for building cpp programs as a base. Built in gcc, g++, make and cmake.

Image
0

10K+

fuming/cpp_build repository overview

⁠fuming/cpp_build

This is an alpine image for building cpp programs as a base. Built-in gcc, g++, make, cmake, vcpkg, etc.

# gcc/g++ --version
gcc version 13.2.1 20231014 (Alpine 13.2.1_git20231014) 

# make --version
GNU Make 4.4.1
Built for x86_64-alpine-linux-musl

# cmake --version
cmake version 3.27.8

Dockerfile:

FROM alpine:3.19.0
RUN apk update && apk add --no-cache build-base cmake make git curl ninja zip unzip gcompat pkgconfig linux-headers perl bash autoconf automake autoconf-archive libtool
RUN git clone --depth 1 --branch 2024.01.12 https://github.com/microsoft/vcpkg.git && ./vcpkg/bootstrap-vcpkg.sh && ./vcpkg/vcpkg integrate install && ln -s /vcpkg/vcpkg /usr/bin/vcpkg
CMD ["/bin/sh"]

Tag summary

Content type

Image

Digest

sha256:8db0be5f5…

Size

160.6 MB

Last updated

over 2 years ago

docker pull fuming/cpp_build