Foundation DB Docker Environment

Hello,

I do a lot of development on applications which depend on FoundationDB. I also like doing integration testing with an actual FDB instance so I can actually run the queries in my tests. I got tired of reimplementing a Docker environment, so I abstracted my environment into fenv.

Here a short list of features:

  • Provides a base container with the FoundationDB client library

  • The base container may be extended by providing a custom Dockerfile

  • Automatically starts an FDB container for integration testing

  • Configures the client container with the appropriate cluster file

  • Supports both local development and GitHub Actions workflows

  • Caches Docker images in CI to prevent rebuilds on every workflow run

  • Provides a /cache directory that persists between container runs

Let me know if this environment does not fit your use case. I may extend it for you, if I’m in a good mood. :wink:

1 Like