Define default compiler via environmental variables

This commit is contained in:
Alvin Moore 2019-06-19 07:42:42 -07:00 committed by Alex Miller
parent 8ff5150470
commit 418f86dd1e
1 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,6 @@
FROM centos:6
LABEL version=0.1.5
ENV DOCKER_IMAGEVER=0.1.5
LABEL version=0.1.6
ENV DOCKER_IMAGEVER=0.1.6
# Install dependencies for developer tools, bindings,\
# documentation, actorcompiler, and packaging tools\
@ -42,4 +42,6 @@ RUN curl -L https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-2.8.2.tar.gz >
rm -rf /tmp/libressl-2.8.2 /tmp/libressl.tar.gz
ENV JAVA_HOME=/usr/lib/jvm/java-1.8.0
ENV CC=/opt/rh/devtoolset-8/root/usr/bin/gcc
ENV CXX=/opt/rh/devtoolset-8/root/usr/bin/g++
CMD scl enable devtoolset-8 python27 rh-python36 rh-ruby24 -- bash