Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/n0madic/alpine-gcc

The Alpine Docker image with latest GCC compiler (C/C++)
https://github.com/n0madic/alpine-gcc

alpine docker docker-image gcc

Last synced: 28 days ago
JSON representation

The Alpine Docker image with latest GCC compiler (C/C++)

Awesome Lists containing this project

README

        

# The Alpine Docker image with latest GCC

This image is based on Alpine Linux image and contains [C/C++ compiler](https://gcc.gnu.org/) (GCC 7/8/9).

## Docker Hub images

```
$ docker pull n0madic/alpine-gcc:7.5.0
or
$ docker pull n0madic/alpine-gcc:8.4.0
or
$ docker pull n0madic/alpine-gcc:9.2.0
```

All versions can be seen on [Docker Hub](https://hub.docker.com/r/n0madic/alpine-gcc/tags)

## Build image and usage

```
$ git clone https://github.com/n0madic/alpine-gcc.git
$ cd alpine-gcc
$ docker build --build-arg GCC_VERSION=7.5.0 -t alpine-gcc .
$ docker run --rm -it -v $(pwd):/src alpine-gcc
```