GCC built for application development (deprecated)
740
9.2.08.3.07.3.0Pull the image
docker pull leavesask/gcc:<tag>
docker run -it --rm leavesask/gcc:<tag>
There are a bunch of build-time arguments you can use to build the image.
It is hightly recommended that you build the image with make.
# Build an image for GCC 9.2.0
make GCC_VERSION="9.2.0"
# Build and publish the image
make release GCC_VERSION="9.2.0"
Check Makefile for more options.
As an alternative, you can build the image with docker build command.
docker build \
--build-arg BASE_TAG="latest" \
--build-arg GCC_VERSION="9.2.0" \
--build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \
--build-arg VCS_REF=`git rev-parse --short HEAD` \
-t my-repo/gcc:latest .
Arguments and their defaults are listed below.
BASE_TAG: value (default=latest)
GCC_VERSION: X.X.X (default=9.2.0)
GCC_OPTIONS: option[=value]
--enable-languages=c,c++ --disable-multilib --build=x86_64-alpine-linux-musl --host=x86_64-alpine-linux-musl --target=x86_64-alpine-linux-musl --disable-libsanitizer --disable-libatomic --disable-libitm/opt/gcc/${GCC_VERSION} so that option --prefix is unnecessary.Content type
Image
Digest
Size
625.3 MB
Last updated
over 6 years ago
docker pull leavesask/gcc