-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update base Docker image to Debian Bookworm
- Loading branch information
1 parent
e7a17ab
commit 06ce862
Showing
7 changed files
with
20 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM pombase/canto-base:v15 | ||
FROM pombase/canto-base:v18 | ||
MAINTAINER Kim Rutherford <[email protected]> | ||
|
||
COPY . canto/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# build with: docker build --squash -f etc/Dockerfile-base -t=pombase/canto-base:v15 . | ||
# build with: docker build --squash -f etc/Dockerfile-base -t=pombase/canto-base:v18 . | ||
|
||
FROM bitnami/minideb:stretch | ||
FROM bitnami/minideb:bookworm | ||
MAINTAINER Kim Rutherford <[email protected]> | ||
|
||
RUN apt-get update && apt-get upgrade -y && apt-get install -y apt-utils | ||
|
@@ -12,7 +12,16 @@ RUN apt-get install -y ntpdate sqlite3 make tar gzip whiptail gcc g++ wget \ | |
|
||
RUN apt-get update; \ | ||
apt-get install -y libcatalyst-perl libcatalyst-modules-perl \ | ||
libserver-starter-perl starman \ | ||
libserver-starter-perl starman liblwp-protocol-https-perl \ | ||
libnet-ssleay-perl libnet-https-any-perl \ | ||
libbio-chado-schema-perl libcarp-always-perl libdata-rmap-perl \ | ||
libdbd-sqlite3-perl libdbix-class-perl \ | ||
libextutils-makemaker-dist-zilla-develop-perl \ | ||
libiterator-simple-perl libjson-any-perl liblist-compare-perl \ | ||
libmoosex-traits-perl libmouse-perl libplack-middleware-debug-perl \ | ||
libplack-middleware-expires-perl libstring-similarity-perl \ | ||
libtest-more-utf8-perl libtext-csv-encoded-perl \ | ||
libtext-multimarkdown-perl libtext-trim-perl libutf8-all-perl \ | ||
libmodule-install-perl libcatalyst-devel-perl liblocal-lib-perl \ | ||
apt-transport-https ca-certificates && \ | ||
apt-get clean | ||
|
@@ -25,7 +34,7 @@ RUN echo installing lib lucene && (cd /tmp/; \ | |
dpkg -i libclucene0ldbl_0.9.21b-2+b1_amd64.deb libclucene-dev_0.9.21b-2+b1_amd64.deb && \ | ||
rm libclucene0ldbl_0.9.21b-2+b1_amd64.deb libclucene-dev_0.9.21b-2+b1_amd64.deb) | ||
|
||
RUN apt-get -y install openjdk-8-jre-headless | ||
RUN apt-get -y install openjdk-17-jre-headless | ||
|
||
RUN mkdir /tmp/canto | ||
COPY . /tmp/canto/ | ||
|
@@ -34,7 +43,7 @@ RUN patch /usr/include/CLucene/store/FSDirectory.h < /tmp/canto/etc/clucene_comp | |
|
||
RUN cpanm Lucene | ||
|
||
RUN (cd /tmp/canto; perl Makefile.PL && make installdeps_notest); rm -rf /tmp/canto | ||
RUN (cd /tmp/canto; export PERL_MM_USE_DEFAULT=1; perl Makefile.PL && make installdeps_notest); rm -rf /tmp/canto | ||
|
||
RUN rm -rf /root/.local /root/.cpan* | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/sh - | ||
|
||
docker run --rm --net="host" --mount type=bind,source=$(pwd)/,target=/canto -w=/canto \ | ||
pombase/canto-base:v17 /bin/bash -c "cd /canto && perl Makefile.PL && make test" | ||
pombase/canto-base:v18 /bin/bash -c "cd /canto && perl Makefile.PL && make test" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters