Skip to content
Closed

El9 #94

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
336 commits
Select commit Hold shift + click to select a range
035dbcb
switching to el9 builds
ndp-opendap Feb 5, 2026
e8bc4d9
switching to el9 builds
ndp-opendap Feb 5, 2026
cb18de2
switching to el9 builds
ndp-opendap Feb 5, 2026
2db7f5a
switching to el9 builds
ndp-opendap Feb 5, 2026
3f26120
switching to el9 builds
ndp-opendap Feb 5, 2026
e57396d
switching to el9 builds
ndp-opendap Feb 5, 2026
8d967b3
switching to el9 builds
ndp-opendap Feb 5, 2026
32efa80
switching to el9 builds
ndp-opendap Feb 5, 2026
1eb74a6
switching to el9 builds
ndp-opendap Feb 5, 2026
f0d317d
switching to el9 builds
ndp-opendap Feb 5, 2026
72a873e
switching to el9 builds
ndp-opendap Feb 5, 2026
2f9c2bd
switching to el9 builds
ndp-opendap Feb 5, 2026
d52074e
Merge branch 'el9' of https://github.com/OPENDAP/hyrax-docker into el9
ndp-opendap Feb 5, 2026
7f49bc7
switching to el9 builds
ndp-opendap Feb 5, 2026
27a56f0
switching to el9 builds
ndp-opendap Feb 5, 2026
ffe702e
switching to el9 builds
ndp-opendap Feb 5, 2026
4cf32c9
switching to el9 builds
ndp-opendap Feb 5, 2026
9d0cd54
making quiet aws s3 retrieval optionally quiet
ndp-opendap Feb 6, 2026
cbda7c8
making quiet aws s3 retrieval optionally quiet
ndp-opendap Feb 6, 2026
836c941
making quiet aws s3 retrieval optionally quiet
ndp-opendap Feb 6, 2026
6607c6c
Replaced docker MAINTAINER instruction with LABEL org.opencontainers.…
ndp-opendap Feb 6, 2026
09d507d
wip
ndp-opendap Feb 6, 2026
eedc39b
wip
ndp-opendap Feb 6, 2026
cc52bbf
Mreged master to el9
ndp-opendap Feb 6, 2026
927a19b
wip
ndp-opendap Feb 6, 2026
361558f
Merge branch 'el9' of https://github.com/OPENDAP/hyrax-docker into el9
ndp-opendap Feb 6, 2026
df9171a
wip
ndp-opendap Feb 7, 2026
2f718a4
Make simple Docker file with rocky9 and try to update
ndp-opendap Feb 7, 2026
6d1ee24
Make simple Docker file with rocky9 and try to update
ndp-opendap Feb 7, 2026
d368990
Make simple Docker file with rocky9 and try to update
ndp-opendap Feb 7, 2026
6e9927e
Make simple Docker file with rocky9 and try to update
ndp-opendap Feb 7, 2026
ffd2ad5
Make simple Docker file with rocky9 and try to update
ndp-opendap Feb 7, 2026
14b0639
Make simple Docker file with rocky9 and try to update
ndp-opendap Feb 7, 2026
57353dc
Make simple Docker file with rocky9 and try to update
ndp-opendap Feb 7, 2026
ea17cdb
Update travis host to jammy
ndp-opendap Feb 7, 2026
23c4480
Update travis host python 3.12
ndp-opendap Feb 7, 2026
3e4becf
Update travis host python 3.12
ndp-opendap Feb 7, 2026
66a9620
Update travis host python 3.12
ndp-opendap Feb 7, 2026
2e7c8da
Update travis host python 3.12
ndp-opendap Feb 7, 2026
d2006dd
Update travis host python 3.12
ndp-opendap Feb 8, 2026
f89b0be
Update travis host python 3.12
ndp-opendap Feb 8, 2026
a0870ea
Enabling upload of regression tests results.
ndp-opendap Feb 8, 2026
29ab2af
Enabling upload of regression tests results.
ndp-opendap Feb 8, 2026
3f76188
Enabling upload of regression tests results.
ndp-opendap Feb 8, 2026
b322318
Enabling upload of regression tests results.
ndp-opendap Feb 8, 2026
6697fc3
Enabling upload of regression tests results.
ndp-opendap Feb 8, 2026
4920912
Enabling upload of regression tests results.
ndp-opendap Feb 8, 2026
c096654
Enabling upload of regression tests results.
ndp-opendap Feb 8, 2026
219e923
Enabling upload of regression tests results.
ndp-opendap Feb 8, 2026
7f97bae
Enabling upload of regression tests results.
ndp-opendap Feb 8, 2026
9fa1a0e
Enabling upload of regression tests results.
ndp-opendap Feb 8, 2026
4750527
Enabling upload of regression tests results.
ndp-opendap Feb 8, 2026
608725f
Enabling upload of regression tests results.
ndp-opendap Feb 8, 2026
ecefa9e
Enabling upload of regression tests results.
ndp-opendap Feb 9, 2026
361ae6d
Working out besd builds
ndp-opendap Feb 9, 2026
ccccabb
Removing bulk og globals in lisu of build-el9 script effects
ndp-opendap Feb 9, 2026
f4eb68a
Removing bulk of the global env varss in lisu of build-el9 script sta…
ndp-opendap Feb 9, 2026
b5f622d
Check size reduction afforded nby teh removal of dev packages
ndp-opendap Feb 9, 2026
c05ebd2
Merge branch 'el9' of https://github.com/OPENDAP/hyrax-docker into el9
ndp-opendap Feb 9, 2026
bbc305a
trigger cicd
ndp-opendap Feb 9, 2026
0470011
trigger cicd
ndp-opendap Feb 9, 2026
7d26226
trigger cicd
ndp-opendap Feb 9, 2026
317818d
trigger cicd
ndp-opendap Feb 9, 2026
e400267
Working hyrax_ncwms
ndp-opendap Feb 9, 2026
04f7530
Working hyrax_ncwms
ndp-opendap Feb 9, 2026
ed09ac5
Working hyrax_ncwms
ndp-opendap Feb 9, 2026
50480e1
Working hyrax_ncwms
ndp-opendap Feb 9, 2026
1a1f5fc
Working hyrax_ncwms
ndp-opendap Feb 9, 2026
1a5f300
Working hyrax_ncwms
ndp-opendap Feb 9, 2026
def92a3
Working hyrax_ncwms
ndp-opendap Feb 9, 2026
7104dbf
Working hyrax_ncwms
ndp-opendap Feb 9, 2026
e0f23d1
Working hyrax_ncwms
ndp-opendap Feb 9, 2026
600694c
Working hyrax_ncwms
ndp-opendap Feb 9, 2026
44ecaae
Working ngap docker
ndp-opendap Feb 9, 2026
09cf9f6
Working ngap docker
ndp-opendap Feb 9, 2026
3895260
Merge branch 'el9' of https://github.com/OPENDAP/hyrax-docker into el9
ndp-opendap Feb 9, 2026
ebe2720
Working ngap docker
ndp-opendap Feb 9, 2026
7316ca9
Working ngap docker
ndp-opendap Feb 9, 2026
11d2773
Working ngap docker
ndp-opendap Feb 9, 2026
3e52992
Working ngap docker
ndp-opendap Feb 9, 2026
71d6370
Working ngap docker
ndp-opendap Feb 9, 2026
6eae8e7
Working olfs docker
ndp-opendap Feb 9, 2026
c35efed
Working olfs docker
ndp-opendap Feb 9, 2026
db7348a
Working olfs docker
ndp-opendap Feb 9, 2026
52278e2
Working olfs docker
ndp-opendap Feb 9, 2026
0043f1b
Working olfs docker
ndp-opendap Feb 9, 2026
a41067f
Working olfs docker
ndp-opendap Feb 9, 2026
2bbca6e
Working olfs docker
ndp-opendap Feb 9, 2026
32209ab
Working olfs docker
ndp-opendap Feb 10, 2026
0d022fd
Working olfs docker
ndp-opendap Feb 10, 2026
ed99b02
Working olfs docker
ndp-opendap Feb 10, 2026
3b765d7
Working olfs docker
ndp-opendap Feb 10, 2026
2bbfd4e
Working olfs docker
ndp-opendap Feb 10, 2026
faa269d
Working ngap docker
ndp-opendap Feb 10, 2026
d14af68
Working ngap docker
ndp-opendap Feb 10, 2026
23282a9
Working ngap docker
ndp-opendap Feb 10, 2026
ecec98c
Working ngap docker
ndp-opendap Feb 11, 2026
d278641
Working ngap docker
ndp-opendap Feb 11, 2026
696c48b
Working ngap docker
ndp-opendap Feb 11, 2026
64e0a81
Working ngap docker
ndp-opendap Feb 11, 2026
d4dcc08
Working ngap docker
ndp-opendap Feb 11, 2026
625e7e7
Working ngap docker
ndp-opendap Feb 11, 2026
48443f9
Working ngap docker
ndp-opendap Feb 11, 2026
4d2a38d
Working ngap docker
ndp-opendap Feb 11, 2026
51937f2
Working ngap docker
ndp-opendap Feb 11, 2026
397ccc2
Working ngap docker
ndp-opendap Feb 11, 2026
fde6398
Working ngap docker
ndp-opendap Feb 11, 2026
6f769e1
Working ngap docker
ndp-opendap Feb 11, 2026
9f72ad6
Working ngap docker
ndp-opendap Feb 11, 2026
579a3de
Working ngap docker
ndp-opendap Feb 11, 2026
3c9760c
Working ngap docker
ndp-opendap Feb 11, 2026
336c030
Working ngap docker
ndp-opendap Feb 11, 2026
781d57d
Working ngap docker
ndp-opendap Feb 11, 2026
56e50d1
Working ngap docker
ndp-opendap Feb 11, 2026
6289614
Working ngap docker
ndp-opendap Feb 11, 2026
6a72dfe
OLFS: Triggering hyrax-docker image production.
travis-ci-opendap Feb 11, 2026
939c123
Working ngap docker
ndp-opendap Feb 11, 2026
b8247a9
Merge branch 'el9' of https://github.com/OPENDAP/hyrax-docker into el9
ndp-opendap Feb 11, 2026
9165b9b
Working ngap docker
ndp-opendap Feb 11, 2026
2520b59
Working ngap docker
ndp-opendap Feb 11, 2026
7f24b4e
Working ngap docker
ndp-opendap Feb 11, 2026
a72bde0
Working ngap docker
ndp-opendap Feb 11, 2026
8087c6b
Working ngap docker
ndp-opendap Feb 11, 2026
9eaa340
Working ngap docker
ndp-opendap Feb 11, 2026
111c0df
Working ngap docker
ndp-opendap Feb 11, 2026
c52bf26
Working ngap docker
ndp-opendap Feb 11, 2026
4377282
Working ngap docker
ndp-opendap Feb 11, 2026
a32fa61
Working ngap docker
ndp-opendap Feb 11, 2026
27d736f
Working ngap docker
ndp-opendap Feb 11, 2026
fcf362f
Working ngap docker
ndp-opendap Feb 11, 2026
03c6977
Working ngap docker
ndp-opendap Feb 11, 2026
ae37be9
Working ngap docker
ndp-opendap Feb 12, 2026
ccc7f63
Working ngap docker
ndp-opendap Feb 12, 2026
2189369
Working ngap docker
ndp-opendap Feb 12, 2026
f126129
Working ngap docker
ndp-opendap Feb 12, 2026
eda0a75
Working ngap docker
ndp-opendap Feb 12, 2026
19ac329
Working ngap docker
ndp-opendap Feb 12, 2026
47c4419
Working ngap docker
ndp-opendap Feb 12, 2026
eb7cb0a
Working ngap docker
ndp-opendap Feb 12, 2026
6f104a4
Working ngap docker
ndp-opendap Feb 12, 2026
dc4f905
Working ngap docker
ndp-opendap Feb 12, 2026
e58e428
Working ngap docker
ndp-opendap Feb 12, 2026
7863def
Working ngap docker
ndp-opendap Feb 12, 2026
71a6429
Working ngap docker
ndp-opendap Feb 12, 2026
44a5b05
Working ngap docker
ndp-opendap Feb 12, 2026
b48a2e3
Working ngap docker
ndp-opendap Feb 12, 2026
1651bff
OLFS: Triggering hyrax-docker image production.
travis-ci-opendap Feb 12, 2026
5efa6d5
Working ngap docker
ndp-opendap Feb 12, 2026
c58c85d
Merge branch 'el9' of https://github.com/OPENDAP/hyrax-docker into el9
ndp-opendap Feb 12, 2026
61c85ae
Merge branch 'master' into el9
ndp-opendap Feb 12, 2026
33bacfe
Working ngap docker
ndp-opendap Feb 12, 2026
e315403
Working ngap docker
ndp-opendap Feb 12, 2026
8953aa5
Working ngap docker
ndp-opendap Feb 12, 2026
b20da96
Working ngap docker
ndp-opendap Feb 12, 2026
fd27df5
Working ngap docker
ndp-opendap Feb 12, 2026
93194ea
Working ngap docker
ndp-opendap Feb 12, 2026
333c6ce
Working ngap docker
ndp-opendap Feb 12, 2026
643edf2
Working ngap docker
ndp-opendap Feb 12, 2026
bf97a0b
Working ngap docker
ndp-opendap Feb 12, 2026
542b8eb
Working ngap docker
ndp-opendap Feb 12, 2026
830f879
Working ngap docker
ndp-opendap Feb 12, 2026
a421187
Working ngap docker
ndp-opendap Feb 12, 2026
b8fc34c
Working ngap docker
ndp-opendap Feb 12, 2026
d440366
Working ngap docker
ndp-opendap Feb 12, 2026
7030392
Working ngap docker
ndp-opendap Feb 12, 2026
562af55
Working ngap docker
ndp-opendap Feb 12, 2026
7c4f9c1
Working ngap docker
ndp-opendap Feb 12, 2026
debc7fa
Working ngap docker
ndp-opendap Feb 12, 2026
4684eb4
Working ngap docker
ndp-opendap Feb 12, 2026
719196f
Working ngap docker
ndp-opendap Feb 12, 2026
4c6e387
Working ngap docker
ndp-opendap Feb 12, 2026
f01f9bc
Working ngap docker
ndp-opendap Feb 12, 2026
bd372ec
Working ngap docker
ndp-opendap Feb 12, 2026
b43780f
Working ngap docker
ndp-opendap Feb 12, 2026
f03d8c3
Working ngap docker
ndp-opendap Feb 12, 2026
ad88bba
Working ngap docker
ndp-opendap Feb 13, 2026
a22f845
Working ngap docker
ndp-opendap Feb 13, 2026
8e30abf
Working ngap docker
ndp-opendap Feb 13, 2026
f506670
Working ngap docker
ndp-opendap Feb 13, 2026
3a979f1
Working ngap docker
ndp-opendap Feb 13, 2026
88c13e6
Working ngap docker
ndp-opendap Feb 13, 2026
c328067
Working ngap docker
ndp-opendap Feb 13, 2026
92ecbec
Working ngap docker
ndp-opendap Feb 13, 2026
aad96a8
Working ngap docker
ndp-opendap Feb 13, 2026
bda3782
Working ngap docker
ndp-opendap Feb 13, 2026
3c4f7e7
Working ngap docker
ndp-opendap Feb 13, 2026
b21431e
Working ngap docker
ndp-opendap Feb 13, 2026
1ad5151
Working ngap docker
ndp-opendap Feb 13, 2026
e180040
Working ngap docker
ndp-opendap Feb 13, 2026
dc18fc5
Working ngap docker
ndp-opendap Feb 13, 2026
f1e8355
Working ngap docker
ndp-opendap Feb 13, 2026
d80d8d6
Working ngap docker
ndp-opendap Feb 13, 2026
2859dc3
Working ngap docker
ndp-opendap Feb 13, 2026
caad718
Working ngap docker
ndp-opendap Feb 13, 2026
221d508
Working ngap docker
ndp-opendap Feb 13, 2026
09a44be
Working ngap docker
ndp-opendap Feb 13, 2026
55ed791
Working ngap docker
ndp-opendap Feb 13, 2026
6044f0d
Working ngap docker
ndp-opendap Feb 13, 2026
02c6274
Working ngap docker
ndp-opendap Feb 13, 2026
a223b31
Working ngap docker
ndp-opendap Feb 13, 2026
2605691
Working ngap docker
ndp-opendap Feb 13, 2026
ae3a4c4
OLFS: Triggering hyrax-docker image production.
travis-ci-opendap Feb 16, 2026
6ec5b7e
Working ngap docker
ndp-opendap Feb 17, 2026
59182ee
Merge branch 'el9' of https://github.com/OPENDAP/hyrax-docker into el9
ndp-opendap Feb 17, 2026
e6064ea
Working ngap docker
ndp-opendap Feb 17, 2026
40bd7e1
Working ngap docker
ndp-opendap Feb 17, 2026
ffb9bd0
Working ngap docker
ndp-opendap Feb 17, 2026
4b955eb
Working ngap docker
ndp-opendap Feb 17, 2026
f34a711
Working ngap docker
ndp-opendap Feb 17, 2026
744b123
Working ngap docker
ndp-opendap Feb 17, 2026
5f5d30c
Working ngap docker
ndp-opendap Feb 17, 2026
3462dba
Working ngap docker
ndp-opendap Feb 17, 2026
df51489
Working ngap docker
ndp-opendap Feb 17, 2026
77e3082
Working ngap docker
ndp-opendap Feb 17, 2026
887c49a
Working ngap docker
ndp-opendap Feb 17, 2026
2802830
Working ngap docker
ndp-opendap Feb 17, 2026
1487f5a
Working ngap docker
ndp-opendap Feb 17, 2026
30a39f8
Working ngap docker
ndp-opendap Feb 17, 2026
034b228
Working ngap docker
ndp-opendap Feb 17, 2026
32e76ee
Working ngap docker
ndp-opendap Feb 17, 2026
dffe5ff
Working ngap docker
ndp-opendap Feb 17, 2026
96b672f
Working ngap docker
ndp-opendap Feb 17, 2026
767d72c
Working ngap docker
ndp-opendap Feb 17, 2026
0adda9c
Working ngap docker
ndp-opendap Feb 17, 2026
92b6fcd
Working hyrax el9 docker
ndp-opendap Feb 17, 2026
3b95971
Working hyrax el9 docker
ndp-opendap Feb 17, 2026
4bedcfc
Working hyrax el9 docker
ndp-opendap Feb 17, 2026
ef07f89
Working hyrax el9 docker
ndp-opendap Feb 17, 2026
6f5ef8b
Working hyrax el9 docker
ndp-opendap Feb 17, 2026
1684cc8
Working hyrax el9 docker
ndp-opendap Feb 17, 2026
d56d54c
Working hyrax el9 docker
ndp-opendap Feb 17, 2026
75b609c
Working hyrax el9 docker
ndp-opendap Feb 17, 2026
eaf0ed5
Working hyrax el9 docker
ndp-opendap Feb 17, 2026
4d57f83
Working hyrax el9 docker
ndp-opendap Feb 17, 2026
e5bf8b0
ngap el9 docker - stop with the systemctl stuff
ndp-opendap Feb 17, 2026
9cd3760
hyrax el9 docker - stop with the systemctl stuff
ndp-opendap Feb 18, 2026
01f3a17
hyrax el9 docker - stop with the systemctl stuff
ndp-opendap Feb 18, 2026
7f0a48f
hyrax el9 docker - stop with the systemctl stuff
ndp-opendap Feb 18, 2026
45f6fda
hyrax el9 docker - stop with the systemctl stuff
ndp-opendap Feb 18, 2026
bdcdd1c
hyrax el9 docker - stop with the systemctl stuff
ndp-opendap Feb 18, 2026
81d4263
olfs el9 docker
ndp-opendap Feb 18, 2026
09dc2a9
start deploying el9 branch results to dockerhub
ndp-opendap Feb 18, 2026
ff94e5e
start deploying el9 branch results to dockerhub
ndp-opendap Feb 18, 2026
1ae1c8a
start deploying el9 branch results to dockerhub
ndp-opendap Feb 18, 2026
edd9873
start deploying el9 branch results to dockerhub
ndp-opendap Feb 18, 2026
0d5553b
start deploying el9 branch results to dockerhub
ndp-opendap Feb 18, 2026
d92448f
start deploying el9 branch results to dockerhub
ndp-opendap Feb 18, 2026
6b26ce4
start deploying el9 branch results to dockerhub
ndp-opendap Feb 18, 2026
bc52223
start deploying el9 branch results to dockerhub
ndp-opendap Feb 18, 2026
953ae2b
start deploying el9 branch results to dockerhub
ndp-opendap Feb 18, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
271 changes: 149 additions & 122 deletions .travis.yml

Large diffs are not rendered by default.

4 changes: 1 addition & 3 deletions build_from_release_recipe.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@ woo_get_besd_distro \
true

# Get the OLFS web archive
woo_get_olfs_distro \
`pwd` \
"${OLFS_VERSION}"
curl_get_olfs_distro `pwd` "${OLFS_VERSION}"

ls -l *.rpm *.gz *.tgz

Expand Down
3 changes: 1 addition & 2 deletions el8-builds/besd/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ LABEL vendor="OPeNDAP Incorporated"
LABEL org.opendap.besdaemon.version=${BES_VERSION}
LABEL org.opendap.besdaemon.release-date=RELEASE_DATE
LABEL org.opendap.hyrax.version.is-production="false"

MAINTAINER support@opendap.org
LABEL org.opencontainers.image.authors="support@opendap.org"

USER root

Expand Down
8 changes: 4 additions & 4 deletions el8-builds/build-rh8 → el8-builds/build-el8
Original file line number Diff line number Diff line change
Expand Up @@ -615,15 +615,15 @@ function s3_get_build_dmrpp_distro() {

################################################################################
#
# woo_get_olfs_distro() - Get the rpm and war files need for a Hyrax installation
# curl_get_olfs_distro() - Get the rpm and war files need for a Hyrax installation
# from the identified S3 bucket.
# $1 - The AWS S3 bucket from which to pull the Hyrax components
# $2 - The directory into which to place the Hyrax components.
# $3 - The olfs version number ##.##.##-##
#
function woo_get_olfs_distro() {
function curl_get_olfs_distro() {
loggy "${HR}"
loggy "TASK: woo_get_olfs_distro()"
loggy "TASK: curl_get_olfs_distro()"
local target_dir="${1}"
loggy " target_dir: ${target_dir}"
local olfs_version="${2}"
Expand Down Expand Up @@ -770,7 +770,7 @@ function build_hyrax_ncwms_docker() {
loggy "build_hyrax_ncwms_docker()"
loggy ""
export DOCKER_NAME="hyrax"
source ./build-rh8
source ./build-el8
export SNAPSHOT_IMAGE_TAG="opendap/${DOCKER_NAME}_ncwms:rh8-snapshot"
export BUILD_VERSION_TAG="opendap/${DOCKER_NAME}_ncwms:rh8-${HYRAX_VERSION}"
export TOMCAT_VERSION=$(get_latest_tomcat_version_number "${TOMCAT_MAJOR_VERSION}")
Expand Down
2 changes: 1 addition & 1 deletion el8-builds/hyrax/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ LABEL org.opendap.hyrax.version=${HYRAX_VERSION}
LABEL org.opendap.hyrax.release-date=${RELEASE_DATE}
LABEL org.opendap.hyrax.version.is-production="false"

MAINTAINER support@opendap.org
LABEL org.opencontainers.image.authors="support@opendap.org"

USER root

Expand Down
2 changes: 1 addition & 1 deletion el8-builds/ngap/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ LABEL org.opendap.hyrax.version=${HYRAX_VERSION}
LABEL org.opendap.hyrax.release-date=${RELEASE_DATE}
LABEL org.opendap.hyrax.version.is-production="false"

MAINTAINER support@opendap.org
LABEL org.opencontainers.image.authors="support@opendap.org"

USER root

Expand Down
2 changes: 1 addition & 1 deletion el8-builds/olfs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ENV python_version="3.11"
ENV HR="###########################################################################"
ENV HR2="# -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - -- - --"

MAINTAINER support@opendap.org
LABEL org.opencontainers.image.authors="support@opendap.org"
USER root

RUN export NOW=`date +%s`
Expand Down
6 changes: 6 additions & 0 deletions el9-build-recipe
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
TARGET_OS: el9
TOMCAT_MAJOR_VERSION: 11
libdap4-3.21.1-366 2026-01-27T19:58:24+0000
bes-3.21.1-1049 2026-02-16T17:33:01+0000
olfs-1.18.15-686 2026-02-16T17:56:48+0000
hyrax-1.17.1-686 2026-02-16T17:56:48+0000
96 changes: 96 additions & 0 deletions el9-builds/besd/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
###############################################################################################
#
# Dockerfile for besdaemon image
#
#
# Some shell state reference:
# set -f # "set -o noglob" Disable file name generation using metacharacters (globbing).
# set -v # "set -o verbose" Prints shell input lines as they are read.
# set -x # "set -o xtrace" Print command traces before executing command.
# set -e # Exit on error.
#
# In general use "set -e" when running commands that matter and don't use
# it for debugging stuff.
#
# Set one or more individual labels
#
FROM rockylinux:9
ENV TARGET_OS="el9"
ENV ARCH="x86_64"
ENV developer_packages="which bc emacs vim procps awscli"

# rocky9 comes with python 3.9 by default, it seems to be good enough for now
# ENV python_version="3.11"
RUN echo "Python Version: $(python3 --version) (config says we want: $python_version)"


ARG RELEASE_DATE
ENV RELEASE_DATE ${RELEASE_DATE:-"unknown"}
RUN echo "RELEASE_DATE: ${RELEASE_DATE}"

ARG LIBDAP_VERSION
ENV LIBDAP_VERSION=${LIBDAP_VERSION:-"snapshot"}
RUN echo "LIBDAP_VERSION: ${LIBDAP_VERSION}"

ARG LIBDAP_RPM
ENV LIBDAP_RPM=${LIBDAP_RPM:-"libdap-${LIBDAP_VERSION}.${TARGET_OS}.x86_64.rpm"}
RUN echo "LIBDAP_RPM: ${LIBDAP_RPM}"
COPY ${LIBDAP_RPM} /${LIBDAP_RPM}

ARG BES_VERSION
ENV BES_VERSION=${BES_VERSION:-"snapshot"}
RUN echo "BES_VERSION: ${BES_VERSION}"

ARG BES_RPM
ENV BES_RPM=${BES_RPM:-"bes-${BES_VERSION}.static.${TARGET_OS}.x86_64.rpm"}
RUN echo "BES_RPM: ${BES_RPM}"
COPY ${BES_RPM} /${BES_RPM}


LABEL vendor="OPeNDAP Incorporated"
LABEL org.opendap.besdaemon.version=${BES_VERSION}
LABEL org.opendap.besdaemon.release-date=RELEASE_DATE
LABEL org.opendap.hyrax.version.is-production="false"
LABEL org.opencontainers.image.authors="support@opendap.org"

USER root

RUN set -e \
&& dnf update -y \
&& echo "dnf install -y $developer_packages" > /load-dev-tools \
&& chmod 755 /load-dev-tools \
&& dnf clean all

###############################################################
# Retrieve and install the latest libdap snapshot
RUN set -e \
&& echo "Installing libdap snapshot rpm. ${LIBDAP_RPM}" \
&& ls -l ./libdap* \
&& dnf -y install ./${LIBDAP_RPM} \
&& rm -f ./${LIBDAP_RPM}

###############################################################
# Retrieve and install the latest BES snapshot
RUN set -e \
&& echo "Install the besd rpm ${BES_RPM} " \
&& ls -l ./bes* \
&& dnf -y install ./${BES_RPM} \
&& rm -f ./${BES_RPM}


RUN echo "besdaemon is here: "`which besdaemon`

COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]

EXPOSE 10022
EXPOSE 11002

# can't use USER with entrypoint that needs root
# use gosu or, as done, enable bes user write so the entrypoint doe snot need root
RUN chown -R bes /etc/bes
USER root

CMD ["-"]

135 changes: 135 additions & 0 deletions el9-builds/besd/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
#!/bin/bash
# This is the entrypoint.sh file for the besd container.
#
#
# set -f # "set -o noglob" Disable file name generation using metacharacters (globbing).
# set -v # "set -o verbose" Prints shell input lines as they are read.
# set -x # "set -o xtrace" Print command traces before executing command.
# set -e # Exit on error.

#echo "Command line: \"$@\""
echo "############################## BESD ##################################"; >&2
echo "Greetings, I am "`whoami`"."; >&2


echo "PythonVersion: "$(python3 --version)

if [ "$SERVER_HELP_EMAIL" ] && [ -n "$SERVER_HELP_EMAIL" ] ; then
echo "Found exisiting SERVER_HELP_EMAIL: $SERVER_HELP_EMAIL"
else
SERVER_HELP_EMAIL="not_set"
echo "SERVER_HELP_EMAIL is $SERVER_HELP_EMAIL"
fi
if [ "$FOLLOW_SYMLINKS" ] && [ -n "$FOLLOW_SYMLINKS" ] ; then
echo "Found exisiting FOLLOW_SYMLINKS: $FOLLOW_SYMLINKS"
else
FOLLOW_SYMLINKS="not_set";
echo "FOLLOW_SYMLINKS is $FOLLOW_SYMLINKS"
fi

#AWS_SECRET_ACCESS_KEY="${AWS_SECRET_ACCESS_KEY:-<not set>}"
#echo "AWS_SECRET_ACCESS_KEY is ${AWS_SECRET_ACCESS_KEY}"
#
#AWS_ACCESS_KEY_ID="${AWS_ACCESS_KEY_ID:-<not set>}"
#echo "AWS_ACCESS_KEY_ID is ${AWS_ACCESS_KEY_ID}"
#
#AWS_DEFAULT_REGION="${AWS_DEFAULT_REGION:-<not set>}"
#echo "AWS_DEFAULT_REGION is ${AWS_DEFAULT_REGION}"


debug=false;

while getopts "e:sdi:k:r:" opt; do
case $opt in
e)
#echo "Setting server admin contact email to: $OPTARG" >&2
SERVER_HELP_EMAIL=$OPTARG
;;
s)
#echo "Setting FollowSymLinks to: Yes" >&2
FOLLOW_SYMLINKS="Yes"
;;
d)
debug=true;
echo "Debug is enabled" >&2;
;;
k)
AWS_SECRET_ACCESS_KEY="${OPTARG}"
echo "Found command line value for AWS_SECRET_ACCESS_KEY: ${AWS_SECRET_ACCESS_KEY}" >&2;
;;
i)
AWS_ACCESS_KEY_ID="${OPTARG}"
echo "Found command line value for AWS_ACCESS_KEY_ID: ${AWS_ACCESS_KEY_ID}" >&2;
;;
r)
AWS_DEFAULT_REGION="${OPTARG}"
echo "Found command line value for AWS_DEFAULT_REGION: ${AWS_DEFAULT_REGION}" >&2;
;;
\?)
echo "Invalid option: -$OPTARG" >&2
echo "options: [-e xxx] [-s] [-d] [-i xxx] [-k xxx] [-r xxx]" >&2
echo " -e xxx where xxx is the email address of the admin contact for the server." >&2
echo " -s When present causes the BES to follow symbolic links." >&2
echo " -d Enables debugging output for this script." >&2
echo " -i xxx Where xxx is an AWS CLI AWS_ACCESS_KEY_ID." >&2
echo " -k xxx Where xxx is an AWS CLI AWS_SECRET_ACCESS_KEY." >&2
echo " -r xxx Where xxx is an AWS CLI AWS_DEFAULT_REGION." >&2
exit 2;
;;
esac
done

aws configure list
status=$?
if [ $status -ne 0 ]; then
echo "Problem with AWS CLI!" >&2
fi

set -e
# echo "$@"


# modify bes.conf based on environment variables before startup. These are set in
# the Docker file to "not_set" and are overriden by the commandline here
#
if [ $SERVER_HELP_EMAIL != "not_set" ]; then
echo "Setting Admin Contact To: $SERVER_HELP_EMAIL" >&2
sed -i "s/admin.email.address@your.domain.name/$SERVER_HELP_EMAIL/" /etc/bes/bes.conf
fi
if [ $FOLLOW_SYMLINKS != "not_set" ]; then
echo "Setting BES FollowSymLinks to YES." >&2
sed -i "s/^BES.Catalog.catalog.FollowSymLinks=No/BES.Catalog.catalog.FollowSymLinks=Yes/" /etc/bes/bes.conf
fi


# Start the BES daemon process
# /usr/bin/besdaemon -i /usr -c /etc/bes/bes.conf -r /var/run/bes.pid
/usr/bin/besctl start;
status=$?
if [ $status -ne 0 ]; then
echo "Failed to start BES: $status" >&2
exit $status
fi

besd_pid=`ps aux | grep /usr/bin/besdaemon | grep -v grep | awk '{print $2;}' - `;
echo "The besdaemon is UP! pid: $besd_pid" >&2

echo "BES Has Arrived..." >&2

while /bin/true; do
sleep 60
besd_ps="$(ps -f "$besd_pid")";
BESD_STATUS=$?
if [ $BESD_STATUS -ne 0 ]; then
echo "BESD_STATUS: $BESD_STATUS bes_pid:$bes_pid" >&2
echo "The BES daemon appears to have died! Exiting." >&2
exit 1;
else
echo "Found besd: $besd_ps"
fi
if [ $debug = true ];then
echo "-------------------------------------------------------------------" >&2
date >&2
echo "BESD_STATUS: $BESD_STATUS besd_pid:$besd_pid" >&2
fi
done
Loading