Skip to content

Commit

Permalink
Loaded from github teeks99/boost-build/Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
teeks99 committed Sep 13, 2017
1 parent e5e364c commit 11e6d31
Show file tree
Hide file tree
Showing 78 changed files with 2,222 additions and 0 deletions.
23 changes: 23 additions & 0 deletions Dockerfile.precise.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
FROM ubuntu:precise
MAINTAINER Thomas Kent <[email protected]>

# Enable PPA
${PPA_line}

# Install pre-reqs
RUN apt-get update && apt-get install -y \
build-essential \
git \
wget \
python2.7 \
python2.7-dev \
python3.2 \
python3.2-dev \
libbz2-dev \
zlib1g-dev

# Install Tool
RUN apt-get update && apt-get install -y ${packages}

# Add the tool configs
ADD user-config.jam /
27 changes: 27 additions & 0 deletions Dockerfile.trusty.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
FROM ubuntu:trusty
MAINTAINER Thomas Kent <[email protected]>

# Enable PPA
${PPA_line}

# Install pre-reqs
RUN apt-get update && apt-get install -y \
build-essential \
git \
wget \
python2.7 \
python2.7-dev \
python3.4 \
python3.4-dev \
libbz2-dev \
zlib1g-dev
RUN cd /usr/bin && ln -s python2.7 python

# Install Tool
RUN apt-get update && apt-get install -y ${packages}

# Symlink tools
${symlink_cmd}

# Add the tool configs
ADD user-config.jam /
9 changes: 9 additions & 0 deletions build_images.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@

for compiler in gcc-4.4 gcc-4.5 gcc-4.6 gcc-4.7 gcc-4.8 gcc-4.9 gcc-5 gcc-6 gcc-7 clang-2.9 clang-3.0 clang-3.1 clang-3.2 clang-3.3 clang-3.4 clang-3.5 clang-3.6 clang-3.7 clang-3.8 clang-3.9 clang-4 clang-5 clang-6
do
pushd $compiler
echo docker build -t teeks99/$compiler .
docker build -t teeks99/$compiler .
popd
done

28 changes: 28 additions & 0 deletions clang-2.9/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
FROM ubuntu:trusty
MAINTAINER Thomas Kent <[email protected]>

# Enable future toolchain PPA
RUN apt-get update && apt-get install -y software-properties-common && add-apt-repository -y ppa:h-rayflood/llvm

# Install pre-reqs
RUN apt-get update && apt-get install -y \
ca-certificates \
build-essential \
git \
wget \
python2.7 \
python2.7-dev \
python3.4 \
python3.4-dev \
libbz2-dev \
zlib1g-dev
RUN cd /usr/bin && ln -s python2.7 python

# Install Tool
RUN apt-get update && apt-get install -y clang-2.9

# Symlink tools


# Add the tool configs
ADD user-config.jam /
23 changes: 23 additions & 0 deletions clang-2.9/user-config.jam
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
using clang : 2.9 : clang++-2.9 : ; # default same as 2.9~c++98
using clang : 2.9~c++98 : clang++-2.9 : <cxxflags>"-std=c++98" ;
using clang : 2.9~gnu98 : clang++-2.9 : <cxxflags>"-std=gnu++98" ;
using clang : 2.9~c++11 : clang++-2.9 : <cxxflags>"-std=c++11" ;
using clang : 2.9~gnu11 : clang++-2.9 : <cxxflags>"-std=gnu++11" ;


using python
: 2.7 # version
: # Interpreter/path to dir
: /usr/include/python2.7 # includes
: /usr/lib/x86_64-linux-gnu # libs
: # conditions
;

using python
: 3.4 # version
: # Interpreter/path to dir
: /usr/include/python3.4 # includes
: /usr/lib/x86_64-linux-gnu # libs
: # conditions
;

28 changes: 28 additions & 0 deletions clang-3.0/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
FROM ubuntu:trusty
MAINTAINER Thomas Kent <[email protected]>

# Enable future toolchain PPA
RUN apt-get update && apt-get install -y software-properties-common && add-apt-repository -y ppa:h-rayflood/llvm

# Install pre-reqs
RUN apt-get update && apt-get install -y \
ca-certificates \
build-essential \
git \
wget \
python2.7 \
python2.7-dev \
python3.4 \
python3.4-dev \
libbz2-dev \
zlib1g-dev
RUN cd /usr/bin && ln -s python2.7 python

# Install Tool
RUN apt-get update && apt-get install -y clang-3.0

# Symlink tools


# Add the tool configs
ADD user-config.jam /
23 changes: 23 additions & 0 deletions clang-3.0/Dockerfile-old
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
FROM ubuntu:precise
MAINTAINER Thomas Kent <[email protected]>

# Enable future toolchain PPA
RUN apt-get update && apt-get install -y software-properties-common && add-apt-repository -y ppa:git-core/ppa && add-apt-repository -y ppa:h-rayflood/llvm

# Install pre-reqs
RUN apt-get update && apt-get install -y \
build-essential \
git \
wget \
python2.7 \
python2.7-dev \
python3.2 \
python3.2-dev \
libbz2-dev \
zlib1g-dev

# Install Tool
RUN apt-get update && apt-get install -y clang-3.0

# Add the tool configs
ADD user-config.jam /
26 changes: 26 additions & 0 deletions clang-3.0/user-config.jam
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
using clang : 3.0 : clang++-3.0 : <cxxflags>"-Wno-c99-extensions" ; #default same as 3.0~c++98
using clang : 3.0~c++98 : clang++-3.0 : <cxxflags>"-Wno-c99-extensions -std=c++98" ;
using clang : 3.0~gnu98 : clang++-3.0 : <cxxflags>"-Wno-c99-extensions -std=gnu++98" ;
using clang : 3.0~c++11 : clang++-3.0 : <cxxflags>"-Wno-c99-extensions -std=c++11" ;
using clang : 3.0~gnu11 : clang++-3.0 : <cxxflags>"-Wno-c99-extensions -std=gnu++11" ;
using clang : 3.0~c++11~O2 : clang++-3.0 : <cxxflags>"-Wno-c99-extensions -std=c++11 -O2" ;
using clang : 3.0~c++11~warn : clang++-3.0 : <cxxflags>"-Wno-c99-extensions -std=c++11 -Wall -Wextra" ;



using python
: 2.7 # version
: # Interpreter/path to dir
: /usr/include/python2.7 # includes
: /usr/lib/x86_64-linux-gnu # libs
: # conditions
;

using python
: 3.4 # version
: # Interpreter/path to dir
: /usr/include/python3.4 # includes
: /usr/lib/x86_64-linux-gnu # libs
: # conditions
;

28 changes: 28 additions & 0 deletions clang-3.1/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
FROM ubuntu:trusty
MAINTAINER Thomas Kent <[email protected]>

# Enable future toolchain PPA
RUN apt-get update && apt-get install -y software-properties-common && add-apt-repository -y ppa:h-rayflood/llvm

# Install pre-reqs
RUN apt-get update && apt-get install -y \
ca-certificates \
build-essential \
git \
wget \
python2.7 \
python2.7-dev \
python3.4 \
python3.4-dev \
libbz2-dev \
zlib1g-dev
RUN cd /usr/bin && ln -s python2.7 python

# Install Tool
RUN apt-get update && apt-get install -y clang-3.1

# Symlink tools


# Add the tool configs
ADD user-config.jam /
25 changes: 25 additions & 0 deletions clang-3.1/user-config.jam
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
using clang : 3.1 : clang++-3.1 : <cxxflags>"-Wno-c99-extensions" ; #default same as 3.1~c++98
using clang : 3.1~c++98 : clang++-3.1 : <cxxflags>"-Wno-c99-extensions -std=c++98" ;
using clang : 3.1~gnu98 : clang++-3.1 : <cxxflags>"-Wno-c99-extensions -std=gnu++98" ;
using clang : 3.1~c++11 : clang++-3.1 : <cxxflags>"-Wno-c99-extensions -std=c++11" ;
using clang : 3.1~gnu11 : clang++-3.1 : <cxxflags>"-Wno-c99-extensions -std=gnu++11" ;
using clang : 3.1~c++11~O2 : clang++-3.1 : <cxxflags>"-Wno-c99-extensions -std=c++11 -O2" ;
using clang : 3.1~c++11~warn : clang++-3.1 : <cxxflags>"-Wno-c99-extensions -std=c++11 -Wall -Wextra" ;


using python
: 2.7 # version
: # Interpreter/path to dir
: /usr/include/python2.7 # includes
: /usr/lib/x86_64-linux-gnu # libs
: # conditions
;

using python
: 3.4 # version
: # Interpreter/path to dir
: /usr/include/python3.4 # includes
: /usr/lib/x86_64-linux-gnu # libs
: # conditions
;

28 changes: 28 additions & 0 deletions clang-3.2/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
FROM ubuntu:trusty
MAINTAINER Thomas Kent <[email protected]>

# Enable future toolchain PPA
RUN apt-get update && apt-get install -y software-properties-common && add-apt-repository -y ppa:h-rayflood/llvm

# Install pre-reqs
RUN apt-get update && apt-get install -y \
ca-certificates \
build-essential \
git \
wget \
python2.7 \
python2.7-dev \
python3.4 \
python3.4-dev \
libbz2-dev \
zlib1g-dev
RUN cd /usr/bin && ln -s python2.7 python

# Install Tool
RUN apt-get update && apt-get install -y clang-3.2

# Symlink tools


# Add the tool configs
ADD user-config.jam /
28 changes: 28 additions & 0 deletions clang-3.2/user-config.jam
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
using clang : 3.2 : clang++-3.2 : <cxxflags>"-Wno-c99-extensions" ; #default same as 3.2~c++98
using clang : 3.2~c++98 : clang++-3.2 : <cxxflags>"-Wno-c99-extensions -std=c++98" ;
using clang : 3.2~gnu98 : clang++-3.2 : <cxxflags>"-Wno-c99-extensions -std=gnu++98" ;
using clang : 3.2~c++11 : clang++-3.2 : <cxxflags>"-Wno-c99-extensions -std=c++11" ;
using clang : 3.2~gnu11 : clang++-3.2 : <cxxflags>"-Wno-c99-extensions -std=gnu++11" ;
using clang : 3.2~c++1y : clang++-3.2 : <cxxflags>"-Wno-c99-extensions -std=c++1y" ;
using clang : 3.2~gnu1y : clang++-3.2 : <cxxflags>"-Wno-c99-extensions -std=gnu++1y" ;
using clang : 3.2~c++1y~O2 : clang++-3.2 : <cxxflags>"-Wno-c99-extensions -std=c++1y -O2" ;
using clang : 3.2~c++1y~warn : clang++-3.2 : <cxxflags>"-Wno-c99-extensions -std=c++1y -Wall -Wextra" ;



using python
: 2.7 # version
: # Interpreter/path to dir
: /usr/include/python2.7 # includes
: /usr/lib/x86_64-linux-gnu # libs
: # conditions
;

using python
: 3.4 # version
: # Interpreter/path to dir
: /usr/include/python3.4 # includes
: /usr/lib/x86_64-linux-gnu # libs
: # conditions
;

26 changes: 26 additions & 0 deletions clang-3.3/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
FROM ubuntu:trusty
MAINTAINER Thomas Kent <[email protected]>

# Enable future toolchain PPA
#RUN apt-get update && apt-get install -y software-properties-common && add-apt-repository -y ppa:ubuntu-toolchain-r/test

# Install pre-reqs
RUN apt-get update && apt-get install -y \
build-essential \
git \
wget \
python2.7 \
python2.7-dev \
python3.4 \
python3.4-dev \
libbz2-dev \
zlib1g-dev
RUN cd /usr/bin && ln -s python2.7 python

# Install Tool
RUN apt-get update && apt-get install -y clang-3.3
# Make a versiond symlink
RUN cd /usr/bin && ln -s clang++ clang++-3.3

# Add the tool configs
ADD user-config.jam /
28 changes: 28 additions & 0 deletions clang-3.3/user-config.jam
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#using gcc : 4.8 : g++-4.8 : <cxxflags>"-Wno-c99-extensions" ;
using clang : 3.3 : clang++-3.3 : <cxxflags>"-Wno-c99-extensions" ; #default same as 3.3~c++98
using clang : 3.3~c++98 : clang++-3.3 : <cxxflags>"-Wno-c99-extensions -std=c++98" ;
using clang : 3.3~gnu98 : clang++-3.3 : <cxxflags>"-Wno-c99-extensions -std=gnu++98" ;
using clang : 3.3~c++11 : clang++-3.3 : <cxxflags>"-Wno-c99-extensions -std=c++11" ;
using clang : 3.3~gnu11 : clang++-3.3 : <cxxflags>"-Wno-c99-extensions -std=gnu++11" ;
using clang : 3.3~c++1y : clang++-3.3 : <cxxflags>"-Wno-c99-extensions -std=c++1y" ;
using clang : 3.3~gnu1y : clang++-3.3 : <cxxflags>"-Wno-c99-extensions -std=gnu++1y" ;
using clang : 3.3~c++1y~O2 : clang++-3.3 : <cxxflags>"-Wno-c99-extensions -std=c++1y -O2" ;
using clang : 3.3~c++1y~warn : clang++-3.3 : <cxxflags>"-Wno-c99-extensions -std=c++1y -Wall -Wextra" ;


using python
: 2.7 # version
: # Interpreter/path to dir
: /usr/include/python2.7 # includes
: /usr/lib # libs
: # conditions
;

using python
: 3.4 # version
: # Interpreter/path to dir
: /usr/include/python3.4 # includes
: /usr/lib # libs
: # conditions
;

25 changes: 25 additions & 0 deletions clang-3.4/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
FROM ubuntu:trusty
MAINTAINER Thomas Kent <[email protected]>

# Enable future toolchain PPA
#RUN apt-get update && apt-get install -y software-properties-common && add-apt-repository -y ppa:ubuntu-toolchain-r/test

# Install pre-reqs
RUN apt-get update && apt-get install -y \
build-essential \
git \
wget \
python2.7 \
python2.7-dev \
python3.4 \
python3.4-dev \
libbz2-dev \
zlib1g-dev

# Install Tool
RUN apt-get update && apt-get install -y clang-3.4
# Make a versiond symlink │·
RUN cd /usr/bin && ln -s clang++ clang++-3.4

# Add the tool configs
ADD user-config.jam /
Loading

0 comments on commit 11e6d31

Please sign in to comment.