File tree Expand file tree Collapse file tree 5 files changed +25
-28
lines changed Expand file tree Collapse file tree 5 files changed +25
-28
lines changed Original file line number Diff line number Diff line change 2
2
# This is a heavyweight image containing all aspects of RDKit plus the build system.
3
3
# It's purpose is to create the RDKit artifacts that will be deployed to lighter weight images.
4
4
5
- # Latest RDKit now needs cmake 3.1 which is not preset on jessie so we must use buster
6
5
FROM debian:bullseye
7
6
LABEL maintainer="Tim Dudgeon<
[email protected] >"
8
7
@@ -30,7 +29,7 @@ RUN apt-get update &&\
30
29
libboost-regex$BOOST_VER\
31
30
libboost-iostreams$BOOST_VER\
32
31
zlib1g-dev\
33
- swig3.0 \
32
+ swig \
34
33
libeigen3-dev\
35
34
git\
36
35
wget\
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ RUN apt-get update &&\
16
16
apt-get install -y --no-install-recommends\
17
17
python3\
18
18
python3-numpy\
19
+ python-is-python3\
19
20
libboost-system$BOOST_VER\
20
21
libboost-thread$BOOST_VER\
21
22
libboost-serialization$BOOST_VER\
42
43
/tmp/
43
44
RUN dpkg -i /tmp/*.deb && rm -f /tmp/*.deb
44
45
45
- # symlink python3 to python
46
- RUN cd /usr/bin && ln -s python3 python
47
-
48
46
WORKDIR /
49
47
50
48
# make the sample config easier to munge (and "correct by default")
Original file line number Diff line number Diff line change @@ -5,19 +5,20 @@ FROM debian:bullseye
5
5
LABEL maintainer="Tim Dudgeon<
[email protected] >"
6
6
7
7
ARG TARGETARCH
8
+ ARG BOOST_VER=1.74.0
8
9
9
10
RUN apt-get update &&\
10
11
apt-get upgrade -y &&\
11
12
apt-get install -y --no-install-recommends\
12
13
openjdk-11-jre-headless\
13
- libboost-system1.74.0 \
14
- libboost-thread1.74.0 \
15
- libboost-serialization1.74.0 \
16
- libboost-regex1.74.0 \
17
- libboost-chrono1.74.0 \
18
- libboost-date-time1.74.0 \
19
- libboost-atomic1.74.0 \
20
- libboost-iostreams1.74.0 \
14
+ libboost-system$BOOST_VER \
15
+ libboost-thread$BOOST_VER \
16
+ libboost-serialization$BOOST_VER \
17
+ libboost-regex$BOOST_VER \
18
+ libboost-chrono$BOOST_VER \
19
+ libboost-date-time$BOOST_VER \
20
+ libboost-atomic$BOOST_VER \
21
+ libboost-iostreams$BOOST_VER \
21
22
libfreetype6 &&\
22
23
apt-get clean -y
23
24
Original file line number Diff line number Diff line change 1
1
# Dockerfile for Python3 based RDKit implementation
2
- # Based on Debian. Does not include Python2.
2
+ # Based on Debian.
3
3
4
- FROM debian:buster
4
+ FROM debian:bullseye
5
5
LABEL maintainer="Tim Dudgeon<
[email protected] >"
6
6
7
+ ARG BOOST_VER=1.74.0
8
+
7
9
RUN apt-get update &&\
8
10
apt-get upgrade -y &&\
9
11
apt-get install -y --no-install-recommends\
@@ -14,16 +16,17 @@ RUN apt-get update &&\
14
16
python3-setuptools\
15
17
python3-wheel\
16
18
python3-six\
19
+ python-is-python3\
17
20
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 \
27
30
sqlite3\
28
31
wget\
29
32
zip\
@@ -35,9 +38,6 @@ ARG DOCKER_TAG=latest
35
38
COPY artifacts/debian/$DOCKER_TAG/debs/RDKit-*-Linux-Runtime.deb artifacts/debian/$DOCKER_TAG/debs/RDKit-*-Linux-Python.deb /tmp/
36
39
RUN dpkg -i /tmp/*.deb && rm -f /tmp/*.deb
37
40
38
- # symlink python3 to python
39
- RUN cd /usr/bin && ln -s python3 python && ln -s pip3 pip
40
-
41
41
ENV RDBASE=/usr/share/RDKit
42
42
43
43
WORKDIR /
Original file line number Diff line number Diff line change 4
4
5
5
source params.sh
6
6
7
- docker push $BASE /rdkit-build-debian:$DOCKER_TAG
8
7
docker push $BASE /rdkit-python3-debian:$DOCKER_TAG
9
8
docker push $BASE /rdkit-java-debian:$DOCKER_TAG
10
9
docker push $BASE /rdkit-tomcat-debian:$DOCKER_TAG
You can’t perform that action at this time.
0 commit comments