summaryrefslogtreecommitdiff
path: root/docker/compilers/Dockerfile.gcc-5
diff options
context:
space:
mode:
Diffstat (limited to 'docker/compilers/Dockerfile.gcc-5')
-rw-r--r--docker/compilers/Dockerfile.gcc-511
1 files changed, 11 insertions, 0 deletions
diff --git a/docker/compilers/Dockerfile.gcc-5 b/docker/compilers/Dockerfile.gcc-5
new file mode 100644
index 0000000..064ab14
--- /dev/null
+++ b/docker/compilers/Dockerfile.gcc-5
@@ -0,0 +1,11 @@
+FROM distcc/base
+
+LABEL maintainer=""
+
+RUN apt-get update && \
+ apt-get install gcc-5 \
+ gcc-multilib \
+ g++-5 \
+ g++-multilib && \
+ update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 50 && \
+ update-alternatives --install /usr/bin/cc cc /usr/bin/gcc-5 50