3
3
# It's purpose is to create the RDKit artifacts that will be deployed to lighter weight images.
4
4
5
5
# Latest RDKit now needs cmake 3.1 which is not preset on jessie so we must use buster
6
- FROM debian:buster
6
+ FROM debian:bullseye
7
7
LABEL maintainer="Tim Dudgeon<
[email protected] >"
8
8
9
9
ARG GIT_REPO
10
10
ARG GIT_BRANCH=master
11
11
ARG GIT_TAG
12
- ARG POSTGRES_VERSION=11
12
+ ARG POSTGRES_VERSION=13
13
+
14
+ RUN echo "deb http://deb.debian.org/debian buster main" >> /etc/apt/sources.list
13
15
14
16
RUN apt-get update &&\
15
17
apt-get install -y --no-install-recommends \
@@ -21,14 +23,14 @@ RUN apt-get update &&\
21
23
sqlite3\
22
24
libsqlite3-dev\
23
25
libboost-dev\
24
- libboost-system1.67 -dev\
25
- libboost-thread1.67 -dev\
26
- libboost-serialization1.67 -dev\
27
- libboost-python1.67 -dev\
28
- libboost-regex1.67 -dev\
29
- libboost-iostreams1.67 -dev\
26
+ libboost-system1.74 -dev\
27
+ libboost-thread1.74 -dev\
28
+ libboost-serialization1.74 -dev\
29
+ libboost-python1.74 -dev\
30
+ libboost-regex1.74 -dev\
31
+ libboost-iostreams1.74 -dev\
30
32
zlib1g-dev\
31
- swig \
33
+ swig3.0 \
32
34
libeigen3-dev\
33
35
git\
34
36
wget\
@@ -46,10 +48,6 @@ RUN if [ $GIT_TAG ]; then echo "Checking out tag $GIT_TAG from repo $GIT_REPO br
46
48
RUN git clone -b $GIT_BRANCH --single-branch $GIT_REPO &&\
47
49
if [ $GIT_TAG ]; then cd rdkit && git fetch --tags && git checkout $GIT_TAG; fi
48
50
49
- # hack to build cartridge packages. can be removed once this code hits the repo
50
- COPY patch_pgsql_rpm.patch /rdkit
51
- RUN cd /rdkit && patch -p1 < patch_pgsql_rpm.patch
52
-
53
51
ENV RDBASE=/rdkit
54
52
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$RDBASE/lib:$RDBASE/Code/JavaWrappers/gmwrapper:/usr/lib/x86_64-linux-gnu
55
53
ENV PYTHONPATH=$PYTHONPATH:$RDBASE
0 commit comments