Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Prisma Engine Images

Build status

This repo contains all build and test images for the Prisma engines. Build images are based on the requirements of the "Binaries" spec.

Images are based on the lowest common denominator of glibc and OpenSSL. In practice, this means:

  • OpenSSL variants 1.0.1 and 1.1.0: OpenSSL is forwards, but not backwards compatible. For example, 1.0.1 works with 1.0.2, but not vice versa.
  • We use the lowest image of an OS that we want to support (e.g. jessie for Debian) due to glibc restrictions. As with OpenSSL, glibc is forwards, but not backwards compatible.
  • On the lowest image mentioned above, we install OpenSSL either manually or via package manager, whichever is fitting, then compile to get the binary for the target combination.

Images

  • Debian: Debian-based (Jessie) build images for OpenSSL 1.0.1 and 1.1.0 and glibc 2.19. Usable for all debian derivatives (Ubuntu, Mint, etc.) and Arch Linux.
  • RHEL: CentOS-based build images for OpenSSL 1.0.1 and 1.1.0 and glibc 2.19. Usable for all RHEL derivatives (RedHat, CentOS, Amazon Linux, etc.).
  • Cross: Cross compilation images, currently for Windows GNU and MacOS cross compilation.
  • Test: Test base image for CI. Contains all dependencies to run the connector test kit and cargo tests.
  • Release: Debian-based (Bullseye) image responsible for computing checksums and GPG signatures as part of the Prisma release process.

How to build the images

  • CD into the folder you want to build.
  • make build builds the image(s) locally.
  • make push pushes the image(s) to DockerHub (requires access, of course).

Automatic image releases

  • Git pushing to master triggers a CI build that releases new images.
  • All images are pushed to prismagraphql/build:<tag>. Check the different Makefiles for the exact tags getting pushed.
  • Important note: Images can be read publicly. Do not commit secrets into the containers; do not push anything confidential into the repository.

Credits

About

Build & test images for Prisma engines.

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.