HYRAX-1964: Build images from bes base docker image (bes_core) instead of bes and libdap rpms#107
Conversation
|
...to prevent temporarily breaking el9 builds on master, we may want to consider reviewing and merging #120 into this branch before merging this branch down. |
…Ms (#120) * Update el-9 shared and besd build * update el9 hyrax * udpate el9 ngap * clean up * update helper functions * update .travis.yml to run CI on branch * i suppose equals signs are important * OLFS: Triggering hyrax-docker image production for el8. Build Version Matrix: TARGET_OS: el8 libdap4-3.21.1-390 2026-03-04T03:14:01+0000 bes-3.21.1-1096 2026-03-04T23:14:34+0000 olfs-1.18.15-726 2026-03-04T23:29:26+0000 hyrax-1.17.1-726 2026-03-04T23:29:26+0000 * OLFS: Triggering hyrax-docker image production for el9. Build Version Matrix: TARGET_OS: el9 TOMCAT_MAJOR_VERSION: 11 libdap4-3.21.1-390 2026-03-04T03:14:01+0000 bes-3.21.1-1096 2026-03-04T23:14:34+0000 olfs-1.18.15-727 2026-03-05T00:05:12+0000 hyrax-1.17.1-727 2026-03-05T00:05:12+0000 * OLFS: Triggering hyrax-docker image production for el8. Build Version Matrix: TARGET_OS: el8 libdap4-3.21.1-390 2026-03-04T03:14:01+0000 bes-3.21.1-1096 2026-03-04T23:14:34+0000 olfs-1.18.15-730 2026-03-05T17:35:18+0000 hyrax-1.17.1-730 2026-03-05T17:35:18+0000 * OLFS: Triggering hyrax-docker image production for el8. Build Version Matrix: TARGET_OS: el8 libdap4-3.21.1-390 2026-03-04T03:14:01+0000 bes-3.21.1-1101 2026-03-05T17:25:18+0000 olfs-1.18.15-731 2026-03-05T17:37:19+0000 hyrax-1.17.1-731 2026-03-05T17:37:19+0000 * OLFS: Triggering hyrax-docker image production for el9. Build Version Matrix: TARGET_OS: el9 TOMCAT_MAJOR_VERSION: 11 libdap4-3.21.1-390 2026-03-04T03:14:01+0000 bes-3.21.1-1101 2026-03-05T17:25:18+0000 olfs-1.18.15-732 2026-03-05T18:13:42+0000 hyrax-1.17.1-732 2026-03-05T18:13:42+0000 * install chkconfig for el9 * fix spelling bork * rearrange * update chkconfig install * tweaks from code review --------- Co-authored-by: Hannah Robertson <1076701+hannahilea@users.noreply.github.com> Co-authored-by: The-Robot-Travis <npotter@opendap.org>
|
Current sizes, calculated via running the below script [1] on my EC2 instance:
[1] I first cleaned out all images on my machine ( #!/bin/sh
set -e
function pull_images_for_tag(){
local prefix=$1
local tag=$2
local besd_tag=$3
echo "$prefix: Pulling images with version tag '$tag'"
docker pull opendap/hyrax:${tag}
docker pull opendap/besd:${besd_tag}
docker pull opendap/hyrax:ngap-${tag}
docker pull opendap/hyrax_ncwms:${tag}
}
docker image ls
# Build 3133: https://app.travis-ci.com/github/OPENDAP/hyrax-docker/builds/277628480
pull_images_for_tag "Master-el8" "1.17.1-733-el8" "3.21.1-1106-el8"
# Build 3136: https://app.travis-ci.com/github/OPENDAP/hyrax-docker/builds/277629035
pull_images_for_tag "New-el8" "1.17.1-733-el8-test-deploy" "3.21.1-1106-el8-test-deploy"
# Build 3134: https://app.travis-ci.com/github/OPENDAP/hyrax-docker/builds/277628568
pull_images_for_tag "Master-el9" "1.17.1-734-el9" "3.21.1-1106-el9"
# Build 3137: https://app.travis-ci.com/github/OPENDAP/hyrax-docker/builds/277629062
pull_images_for_tag "New-el9" "1.17.1-734-el9-test-deploy" "3.21.1-1106-el9-test-deploy"
docker image ls |
|
Testing proposal from @ndp-opendap via Slack:
|
|
Copying over relevant questions from @ndp-opendap in #123:
|
I don't think that it should be affected at all? I've tagged the
Great question---I didn't know that functionality even existed!! I will test for it.
|
|
On my EC2 instance, did which pulled down the test image built by Travis. Did which resulted in This looks like what we'd expect, yes? |
|
...last test to do here is the besd test @ndp-opendap proposed above, which I'm stuck on. I also don't know how important it is, given that running the image without the olfs did start the daemon. If it's important, I will need help running it! |
|
...and el9 version: |
|
Ran |
|
Okay, last step before merging: ndp proposed reaching out to a downstream team to make sure that the besd image size change won't be a problem for them. Doing that now. |



Images to update (all for rhel8):
Before merge:
Note: does NOT update the rhel9 builds to build from this bes_core base image. That work will need to happen in another branch.