-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better install script, consistently used in the Dockerfile and in the…
… travis-ci configuration
- Loading branch information
Showing
5 changed files
with
267 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Project specific | ||
modules | ||
|
||
# Jekyll | ||
**/_site | ||
**/Gemfile.lock | ||
|
||
# Github files | ||
**/.git | ||
**/.github | ||
.gitignore | ||
|
||
# Python files | ||
**/.py* | ||
**/*.pyc | ||
**/*.egg-info | ||
.coverage | ||
|
||
# Travis-ci | ||
.travis.yml | ||
|
||
# Emacs | ||
**/*~ | ||
**/\#* | ||
**/.\#* | ||
|
||
# Other | ||
**/.DS_Store | ||
**/*.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,21 @@ | ||
FROM debian:8.11-slim | ||
# | ||
# CAMP | ||
# | ||
# Copyright (C) 2017 -- 2019 SINTEF Digital | ||
# All rights reserved. | ||
# | ||
# This software may be modified and distributed under the terms | ||
# of the MIT license. See the LICENSE file for details. | ||
# | ||
|
||
LABEL maintainer "[email protected]" | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y --no-install-recommends \ | ||
libgomp1=4.9.2-10+deb8u2 \ | ||
python2.7-dev=2.7.9-2+deb8u2 \ | ||
python-pip=1.5.6-5 \ | ||
wget=1.16-1+deb8u5 \ | ||
unzip=6.0-16+deb8u3 \ | ||
git=1:2.1.4-2.1+deb8u7 \ | ||
&& \ | ||
apt-get install -y --no-install-recommends --reinstall \ | ||
python-pkg-resources=5.5.1-1 && \ | ||
apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* | ||
FROM debian:9-slim | ||
|
||
WORKDIR /root | ||
RUN wget -q https://github.com/Z3Prover/z3/releases/download/z3-4.7.1/z3-4.7.1-x64-debian-8.10.zip && \ | ||
unzip z3-4.7.1-x64-debian-8.10.zip && \ | ||
mv z3-4.7.1-x64-debian-8.10 unzipped && \ | ||
mkdir -p /usr/lib/python2.7/z3/lib && \ | ||
cp unzipped/bin/z3 /usr/lib/python2.7/z3/lib/ && \ | ||
cp unzipped/bin/lib* /usr/lib/python2.7/z3/lib/ && \ | ||
cp -rf unzipped/bin/python/z3 /usr/lib/python2.7/ && \ | ||
ln -s /usr/lib/python2.7/z3/lib/z3 /usr/bin/z3 && \ | ||
rm -rf unzipped | ||
LABEL maintainer "[email protected]" | ||
|
||
RUN env && python -c 'import z3; print(z3.get_version_string())' | ||
|
||
WORKDIR /camp | ||
COPY . /camp | ||
|
||
RUN easy_install -U pip | ||
RUN pip install -U setuptools | ||
RUN pip --version | ||
RUN pip install . | ||
# Install Z3 | ||
RUN bash install.sh --install-z3 --install-docker --camp-from-sources | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.