File tree Expand file tree Collapse file tree 5 files changed +25
-29
lines changed
Expand file tree Collapse file tree 5 files changed +25
-29
lines changed Original file line number Diff line number Diff line change 22# This is a heavyweight image containing all aspects of RDKit plus the build system.
33# It's purpose is to create the RDKit artifacts that will be deployed to lighter weight images.
44
5- # Latest RDKit now needs cmake 3.1 which is not preset on jessie so we must use buster
65FROM debian:bullseye
76LABEL maintainer="Tim Dudgeon<
[email protected] >"
87
@@ -12,7 +11,6 @@ ARG GIT_TAG
1211ARG POSTGRES_VERSION=13
1312ARG BOOST_VER=1.74-dev
1413
15- RUN echo "deb http://deb.debian.org/debian buster main" >> /etc/apt/sources.list
1614
1715RUN apt-get update &&\
1816 apt-get install -y --no-install-recommends \
@@ -31,7 +29,7 @@ RUN apt-get update &&\
3129 libboost-regex$BOOST_VER\
3230 libboost-iostreams$BOOST_VER\
3331 zlib1g-dev\
34- swig3.0 \
32+ swig \
3533 libeigen3-dev\
3634 git\
3735 wget\
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ RUN apt-get update &&\
1616 apt-get install -y --no-install-recommends\
1717 python3\
1818 python3-numpy\
19+ python-is-python3\
1920 libboost-system$BOOST_VER\
2021 libboost-thread$BOOST_VER\
2122 libboost-serialization$BOOST_VER\
4243 /tmp/
4344RUN dpkg -i /tmp/*.deb && rm -f /tmp/*.deb
4445
45- # symlink python3 to python
46- RUN cd /usr/bin && ln -s python3 python
47-
4846WORKDIR /
4947
5048# make the sample config easier to munge (and "correct by default")
Original file line number Diff line number Diff line change 44FROM debian:bullseye
55LABEL maintainer="Tim Dudgeon<
[email protected] >"
66
7+ ARG BOOST_VER=1.74.0
78
89RUN apt-get update &&\
910 apt-get upgrade -y &&\
1011 apt-get install -y --no-install-recommends\
1112 openjdk-11-jre-headless\
12- libboost-system1.74.0 \
13- libboost-thread1.74.0 \
14- libboost-serialization1.74.0 \
15- libboost-regex1.74.0 \
16- libboost-chrono1.74.0 \
17- libboost-date-time1.74.0 \
18- libboost-atomic1.74.0 \
19- libboost-iostreams1.74.0 \
13+ libboost-system$BOOST_VER \
14+ libboost-thread$BOOST_VER \
15+ libboost-serialization$BOOST_VER \
16+ libboost-regex$BOOST_VER \
17+ libboost-chrono$BOOST_VER \
18+ libboost-date-time$BOOST_VER \
19+ libboost-atomic$BOOST_VER \
20+ libboost-iostreams$BOOST_VER \
2021 libfreetype6 &&\
2122 apt-get clean -y
2223
Original file line number Diff line number Diff line change 11# Dockerfile for Python3 based RDKit implementation
2- # Based on Debian. Does not include Python2.
2+ # Based on Debian.
33
4- FROM debian:buster
4+ FROM debian:bullseye
55LABEL maintainer="Tim Dudgeon<
[email protected] >"
66
7+ ARG BOOST_VER=1.74.0
8+
79RUN apt-get update &&\
810 apt-get upgrade -y &&\
911 apt-get install -y --no-install-recommends\
@@ -14,16 +16,17 @@ RUN apt-get update &&\
1416 python3-setuptools\
1517 python3-wheel\
1618 python3-six\
19+ python-is-python3\
1720 gcc\
18- libboost-system1.67.0 \
19- libboost-thread1.67.0 \
20- libboost-serialization1.67.0 \
21- libboost-python1.67.0 \
22- libboost-regex1.67.0 \
23- libboost-chrono1.67.0 \
24- libboost-date-time1.67.0 \
25- libboost-atomic1.67.0 \
26- libboost-iostreams1.67.0 \
21+ libboost-system$BOOST_VER \
22+ libboost-thread$BOOST_VER \
23+ libboost-serialization$BOOST_VER \
24+ libboost-python$BOOST_VER \
25+ libboost-regex$BOOST_VER \
26+ libboost-chrono$BOOST_VER \
27+ libboost-date-time$BOOST_VER \
28+ libboost-atomic$BOOST_VER \
29+ libboost-iostreams$BOOST_VER \
2730 sqlite3\
2831 wget\
2932 zip\
@@ -35,9 +38,6 @@ ARG DOCKER_TAG=latest
3538COPY artifacts/debian/$DOCKER_TAG/debs/RDKit-*-Linux-Runtime.deb artifacts/debian/$DOCKER_TAG/debs/RDKit-*-Linux-Python.deb /tmp/
3639RUN dpkg -i /tmp/*.deb && rm -f /tmp/*.deb
3740
38- # symlink python3 to python
39- RUN cd /usr/bin && ln -s python3 python && ln -s pip3 pip
40-
4141ENV RDBASE=/usr/share/RDKit
4242
4343WORKDIR /
Original file line number Diff line number Diff line change 44
55source params.sh
66
7- docker push $BASE /rdkit-build-debian:$DOCKER_TAG
87docker push $BASE /rdkit-python3-debian:$DOCKER_TAG
98docker push $BASE /rdkit-java-debian:$DOCKER_TAG
109docker push $BASE /rdkit-tomcat-debian:$DOCKER_TAG
You can’t perform that action at this time.
0 commit comments