mirror of
https://github.com/matrix-construct/construct
synced 2024-09-26 02:18:53 +02:00
Add gcc-9 base
This commit is contained in:
parent
a1858b9f89
commit
dddca1b1eb
3 changed files with 24 additions and 7 deletions
|
@ -1,9 +1,12 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Please run from the directory this file in
|
BASEDIR=$(dirname "$0")
|
||||||
docker pull ubuntu:18.04
|
|
||||||
docker build -t jevolk/construct:ubuntu-18.04 ./ubuntu/base
|
|
||||||
docker build -t jevolk/construct:ubuntu-18.04-clang-9 ./ubuntu/clang-9
|
|
||||||
docker build -t jevolk/construct:ubuntu-18.04-gcc-8 ./ubuntu/gcc-8
|
|
||||||
|
|
||||||
docker push jevolk/construct:ubuntu-18.04-clang-9
|
docker pull ubuntu:18.04
|
||||||
docker push jevolk/construct:ubuntu-18.04-gcc-8
|
docker build -t jevolk/construct:ubuntu-18.04 $BASEDIR/ubuntu/base
|
||||||
|
docker build -t jevolk/construct:ubuntu-18.04-clang-9 $BASEDIR/ubuntu/clang-9
|
||||||
|
docker build -t jevolk/construct:ubuntu-18.04-gcc-8 $BASEDIR/ubuntu/gcc-8
|
||||||
|
docker build -t jevolk/construct:ubuntu-18.04-gcc-9 $BASEDIR/ubuntu/gcc-9
|
||||||
|
|
||||||
|
#docker push jevolk/construct:ubuntu-18.04-clang-9
|
||||||
|
#docker push jevolk/construct:ubuntu-18.04-gcc-8
|
||||||
|
#docker push jevolk/construct:ubuntu-18.04-gcc-9
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
FROM ubuntu:18.04
|
FROM ubuntu:18.04
|
||||||
|
|
||||||
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get install --no-install-recommends -y software-properties-common && \
|
apt-get install --no-install-recommends -y software-properties-common && \
|
||||||
|
|
12
tools/docker/ubuntu/gcc-9/Dockerfile
Normal file
12
tools/docker/ubuntu/gcc-9/Dockerfile
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
FROM jevolk/construct:ubuntu-18.04
|
||||||
|
|
||||||
|
ENV CXX g++-9
|
||||||
|
ENV CC gcc-9
|
||||||
|
|
||||||
|
RUN apt-get update \
|
||||||
|
&& apt-get install --no-install-recommends -y software-properties-common \
|
||||||
|
&& add-apt-repository ppa:jonathonf/gcc-9.2 \
|
||||||
|
&& apt-get update \
|
||||||
|
&& apt-get install --no-install-recommends -y g++- gcc-9 \
|
||||||
|
&& apt-get clean -y \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
Loading…
Reference in a new issue