Skip to content

Commit d9acaf1

Browse files
committed
adjusted README
1 parent a4963c8 commit d9acaf1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
[![Build Status](https://travis-ci.org/madduci/docker-linux-cpp.svg?branch=master)](https://travis-ci.org/madduci/docker-linux-cpp)
44

5-
A basic docker image for C++ developers, featuring g++ (from 4.9 up to 7.x) and clang++ (from 3.8 to 6.0) and CMake support. The default compiler is g++ 7, but you're free to modify the Dockerfile and set your own; as example, if you want to set g++ 4.9 as the default compiler, just write the following Dockerfile and build a new image:
5+
A basic docker image for C++ developers, featuring g++ (from 4.9 up to 8.x) and clang++ (from 3.8 to 6.0) and CMake support. The default compiler is g++ 8, but you're free to modify the Dockerfile and set your own; as example, if you want to set g++ 4.9 as the default compiler, just write the following Dockerfile and build a new image:
66

77
```
88
# Dockerfile
99
FROM madduci/docker-linux-cpp:latest
1010
11-
RUN update-alternatives --remove g++ /usr/bin/g++-7 \
11+
RUN update-alternatives --remove g++ /usr/bin/g++-8 \
1212
&& update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.9 1
1313
```
1414

@@ -30,4 +30,4 @@ You can just type in your terminal:
3030

3131
to use my docker image or, in case of adjustments to the `Dockerfile`, just type:
3232

33-
`docker run --rm -it -v /your/folder:/project madduci/docker-linux-cpp my_file.cpp`
33+
`docker run --rm -it -v /your/folder:/project madduci/docker-linux-cpp my_file.cpp`

0 commit comments

Comments
 (0)