Skip to content

Commit 498f4ce

Browse files
tdudgeonElixir-Deploy-Bot
authored andcommitted
cartridge build now working again
1 parent a2795b1 commit 498f4ce

File tree

2 files changed

+20
-25
lines changed

2 files changed

+20
-25
lines changed

Dockerfile-build-debian

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ ARG GIT_BRANCH=master
1111
ARG GIT_TAG
1212
ARG POSTGRES_VERSION=13
1313
ARG TARGETARCH
14+
ARG BOOST_VER=1.74-dev
1415

1516
RUN apt-get update &&\
1617
apt-get install -y --no-install-recommends \
@@ -22,12 +23,12 @@ RUN apt-get update &&\
2223
sqlite3\
2324
libsqlite3-dev\
2425
libboost-dev\
25-
libboost-system1.74-dev\
26-
libboost-thread1.74-dev\
27-
libboost-serialization1.74-dev\
28-
libboost-python1.74-dev\
29-
libboost-regex1.74-dev\
30-
libboost-iostreams1.74-dev\
26+
libboost-system$BOOST_VER\
27+
libboost-thread$BOOST_VER\
28+
libboost-serialization$BOOST_VER\
29+
libboost-python$BOOST_VER\
30+
libboost-regex$BOOST_VER\
31+
libboost-iostreams$BOOST_VER\
3132
zlib1g-dev\
3233
swig3.0\
3334
libeigen3-dev\

Dockerfile-cartridge-debian

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,38 +4,32 @@
44
# build the deb packages so we need to install the packages using apt to have tight control over this.
55
#
66

7-
FROM debian:buster
7+
FROM debian:bullseye
88
LABEL maintainer="Tim Dudgeon<[email protected]>"
99

10-
ENV PG_MAJOR=11
10+
ENV PG_MAJOR=13
11+
ENV BOOST_VER=1.74.0
1112
ARG DOCKER_TAG=latest
1213

13-
# This adds the postgres apt repos as postgresql-10 is not available for buster
14-
# and postgresql-11 does not seem to work with RDKit yet.
15-
#
16-
RUN apt-get update &&\
17-
apt-get -y install curl ca-certificates gnupg &&\
18-
curl https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - &&\
19-
echo "deb http://apt.postgresql.org/pub/repos/apt/ buster-pgdg main" > /etc/apt/sources.list.d/pgdg.list
20-
2114
RUN apt-get update &&\
2215
apt-get upgrade -y &&\
2316
apt-get install -y --no-install-recommends\
2417
python3\
2518
python3-numpy\
26-
libboost-system1.67.0\
27-
libboost-thread1.67.0\
28-
libboost-serialization1.67.0\
29-
libboost-python1.67.0\
30-
libboost-regex1.67.0\
31-
libboost-chrono1.67.0\
32-
libboost-date-time1.67.0\
33-
libboost-atomic1.67.0\
34-
libboost-iostreams1.67.0\
19+
libboost-system$BOOST_VER\
20+
libboost-thread$BOOST_VER\
21+
libboost-serialization$BOOST_VER\
22+
libboost-python$BOOST_VER\
23+
libboost-regex$BOOST_VER\
24+
libboost-chrono$BOOST_VER\
25+
libboost-date-time$BOOST_VER\
26+
libboost-atomic$BOOST_VER\
27+
libboost-iostreams$BOOST_VER\
3528
libfreetype6\
3629
postgresql-$PG_MAJOR\
3730
postgresql-client-$PG_MAJOR\
3831
postgresql-plpython3-$PG_MAJOR\
32+
pgtop\
3933
gosu\
4034
wget\
4135
zip &&\

0 commit comments

Comments
 (0)