mirror of
https://github.com/matrix-construct/construct
synced 2024-12-25 23:14:13 +01:00
docker: Add gcc-10/clang-10 images.
This commit is contained in:
parent
454e1bdd40
commit
37e21e208f
3 changed files with 25 additions and 0 deletions
|
@ -3,9 +3,13 @@ BASEDIR=$(dirname "$0")
|
|||
|
||||
docker build -t jevolk/construct:ubuntu-20.04 $BASEDIR/ubuntu/base
|
||||
docker build -t jevolk/construct:ubuntu-20.04-clang-9 $BASEDIR/ubuntu/clang-9
|
||||
docker build -t jevolk/construct:ubuntu-20.04-clang-10 $BASEDIR/ubuntu/clang-10
|
||||
docker build -t jevolk/construct:ubuntu-20.04-gcc-8 $BASEDIR/ubuntu/gcc-8
|
||||
docker build -t jevolk/construct:ubuntu-20.04-gcc-9 $BASEDIR/ubuntu/gcc-9
|
||||
docker build -t jevolk/construct:ubuntu-20.04-gcc-10 $BASEDIR/ubuntu/gcc-10
|
||||
|
||||
docker push jevolk/construct:ubuntu-20.04-clang-9
|
||||
docker push jevolk/construct:ubuntu-20.04-clang-10
|
||||
docker push jevolk/construct:ubuntu-20.04-gcc-8
|
||||
docker push jevolk/construct:ubuntu-20.04-gcc-9
|
||||
docker push jevolk/construct:ubuntu-20.04-gcc-10
|
||||
|
|
10
docker/ubuntu/clang-10/Dockerfile
Normal file
10
docker/ubuntu/clang-10/Dockerfile
Normal file
|
@ -0,0 +1,10 @@
|
|||
FROM jevolk/construct:ubuntu-20.04
|
||||
|
||||
ENV CC clang-10
|
||||
ENV CXX clang++-10
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install --no-install-recommends -y clang-10 llvm-10-dev \
|
||||
&& apt-get clean -y \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
11
docker/ubuntu/gcc-10/Dockerfile
Normal file
11
docker/ubuntu/gcc-10/Dockerfile
Normal file
|
@ -0,0 +1,11 @@
|
|||
FROM jevolk/construct:ubuntu-20.04
|
||||
|
||||
ENV CXX g++-10
|
||||
ENV CC gcc-10
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install --no-install-recommends -y software-properties-common \
|
||||
&& apt-get update \
|
||||
&& apt-get install --no-install-recommends -y g++-10 gcc-10 \
|
||||
&& apt-get clean -y \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
Loading…
Reference in a new issue