This container image includes Ubuntu version 22.04
which contains the following packages:
- OpenSSL: configured to be FIPS compliant.
- Ruby: compiled against the FIPS 140-2 compliant OpenSSL module.
- Postgres client: linked against the FIPS 140-2 compliant OpenSSL module.
- Bundler.
The exact versions of packages mentioned above can be found in Description.md.
The builder image should not be used as the eventual application image. It should be solely used to build an actual application image.
FIPS module is disabled in ubuntu-ruby-builder
image to take advantage of
dependency download optimization bundler utilizes.
Bundler uses MD5 Hash Algorithm which is not FIPS compliant, hence no optimization can be applied on images with FIPS module enabled. This have a negative toll on the dependencies download speed.
- Current directory is the directory where this repository is cloned
- Docker version is
24
or higher
Image name | Description |
---|---|
ubuntu-ruby-builder | Ruby image with building tools |
ubuntu-ruby-fips | Final image |
ubuntu-ruby-fips-postgres-fips | Final image with PostgreSQL database |
ubuntu-ruby-fips-slim | Lightweight final image |
To build the images execute:
./ubuntu-ruby-fips/build.sh