Skip to content

CNG: Enable bootsnap in rails containers

Summary

Follow-up from #1361 (closed)

For CNG images it might make a lot of sense to enable this in production since all the code is already containerized.

During the course of #1361 (closed), it was found that we could not pre-compile the cache in order to bake it into the released CNG images because of the use of uname -v in the cache keying. We opened an upstream MR to address this, instead using the GLIBC_VERSION where / when available.

Once the upstream supports containerization in the manner we need it, we can implement this within the images via CI.

Related Items

cc @stanhu

Edited by Stan Hu