foundationdb/packaging/docker
Pierce Lopez 3d64ad40be
docker: update base to rockylinux-9.8, golang builder, README (#13757)
* update Dockerfile base to rockylinux-9.8
* update golang builder to golang 1.25.12
* update docker README build instructions

The build context expected by different stages of the Dockerfile
is a bit confusing ... most expect the context root to be
packaging/docker/ but fdb-kubernetes-monitor expects the repo root.
How it's actually built by the release system is in the build-output
packages/docker/ dir where the needed sources are all copied.
2026-07-21 01:53:32 -04:00
..
fdb-aws-s3-credentials-fetcher Fix typos (#12687) 2026-02-09 17:54:01 -08:00
kubernetes Update the fdbkubernetesmonitor dependencies (#12791) 2026-03-18 10:47:34 +01:00
samples Bump the pip group across 2 directories with 2 updates (#12727) 2026-04-01 19:41:40 -07:00
website Added website directory to docker packaging in order to allow the building of runtime docker images 2019-01-11 19:54:36 -08:00
Dockerfile docker: update base to rockylinux-9.8, golang builder, README (#13757) 2026-07-21 01:53:32 -04:00
README.md docker: update base to rockylinux-9.8, golang builder, README (#13757) 2026-07-21 01:53:32 -04:00
build-images.sh mako: gate build behind BUILD_MAKO cmake option (#13322) 2026-06-04 16:39:20 -07:00
entrypoint.bash Change the default base image to RockyLinux9 (#11538) 2024-08-01 18:00:49 +02:00
fdb.bash Update copyright years to 2013-2026 (#12653) 2026-01-22 10:49:41 -08:00
fdb_single.bash Update copyright years to 2013-2026 (#12653) 2026-01-22 10:49:41 -08:00
run_ycsb.sh cleanup shell script, remove set -x, add more detailed logging 2022-10-25 23:23:22 -05:00
run_ycsb_standalone.sh Make it so can run the ycsb container standalone without need of a k8s 2024-05-08 12:22:21 -05:00
sidecar.py Add test cases for path checks 2025-01-10 11:16:48 +01:00
sidecar_test.py Address several TODO comments 2026-05-04 20:00:27 -07:00

README.md

packaging/docker

This directory contains the pieces for building FoundationDB docker images.

build-images.sh will optionally take a single parameter that will be used as an image tag postfix.

For more details it is best to read the build-images.sh shell script itself to learn more about how the images are built.

For details about what is in the images, peruse Dockerfile

the samples directory is out of date, and anything therein should be used with the expectation that it is, at least, partially (if not entirely) incorrect.

Building images locally without the script

If you only want to build a custom container image based on an already released FDB version you run the following command from the root:

FDB_VERSION=7.3.79
docker build --build-arg FDB_VERSION=${FDB_VERSION} -t foundationdb:${FDB_VERSION} --target foundationdb ./packaging/docker

If you want to build the fdb-kubernetes-monitor image (which includes fdb binaries too), you need to use the build-output directory, even if not using binaries from the build. (Just the cmake configure step is enough to set this up.)

FDB_VERSION=7.3.79
docker build --build-arg FDB_VERSION=${FDB_VERSION} -t fdb-kubernetes-monitor:${FDB_VERSION} --target fdb-kubernetes-monitor .../build-output/packages/docker