Skip to content

Commit 3c71964

Browse files
tdudgeonElixir-Deploy-Bot
authored andcommitted
updated cartridge build and other things
1 parent 498f4ce commit 3c71964

File tree

5 files changed

+25
-28
lines changed

5 files changed

+25
-28
lines changed

Dockerfile-build-debian

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
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
65
FROM debian:bullseye
76
LABEL maintainer="Tim Dudgeon<[email protected]>"
87

@@ -30,7 +29,7 @@ RUN apt-get update &&\
3029
libboost-regex$BOOST_VER\
3130
libboost-iostreams$BOOST_VER\
3231
zlib1g-dev\
33-
swig3.0\
32+
swig\
3433
libeigen3-dev\
3534
git\
3635
wget\

Dockerfile-cartridge-debian

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff 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\
@@ -42,9 +43,6 @@ COPY\
4243
/tmp/
4344
RUN dpkg -i /tmp/*.deb && rm -f /tmp/*.deb
4445

45-
# symlink python3 to python
46-
RUN cd /usr/bin && ln -s python3 python
47-
4846
WORKDIR /
4947

5048
# make the sample config easier to munge (and "correct by default")

Dockerfile-java-debian

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,20 @@ FROM debian:bullseye
55
LABEL maintainer="Tim Dudgeon<[email protected]>"
66

77
ARG TARGETARCH
8+
ARG BOOST_VER=1.74.0
89

910
RUN apt-get update &&\
1011
apt-get upgrade -y &&\
1112
apt-get install -y --no-install-recommends\
1213
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\
2122
libfreetype6 &&\
2223
apt-get clean -y
2324

Dockerfile-python3-debian

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
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
55
LABEL maintainer="Tim Dudgeon<[email protected]>"
66

7+
ARG BOOST_VER=1.74.0
8+
79
RUN 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
3538
COPY artifacts/debian/$DOCKER_TAG/debs/RDKit-*-Linux-Runtime.deb artifacts/debian/$DOCKER_TAG/debs/RDKit-*-Linux-Python.deb /tmp/
3639
RUN 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-
4141
ENV RDBASE=/usr/share/RDKit
4242

4343
WORKDIR /

push-debian.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ set -e
44

55
source params.sh
66

7-
docker push $BASE/rdkit-build-debian:$DOCKER_TAG
87
docker push $BASE/rdkit-python3-debian:$DOCKER_TAG
98
docker push $BASE/rdkit-java-debian:$DOCKER_TAG
109
docker push $BASE/rdkit-tomcat-debian:$DOCKER_TAG

0 commit comments

Comments
 (0)