This repo hold the Dockerfiles of our Coder images that will be used in an airtight environment.
An issue ocurred when the first image arrived to the airtight environment. The golang executables were broken, printing a memory map and showing clear signs that the CLI is dead.
- VM we archived the
.tarfile is not stable - The VM has an old win-rar version installed while the PC in the airtight environment has the latest version of 7zip
The following steps were chosen to provide a working solution:
- Building the images on a reliable PC
- Archiving using
7zipas its proved more reliable thanwin-rar - Layers to be uploaded to github
Each Dockerfile was:
- Built using
docker build -t <image-name> -f <path-to-Dockerfile> .with connection to thewww - Saved locally using
docker save -o <image-name>.tar <image-name>:latest - Split into
100MBchunks using7zip - Extracted using
7zip - Loaded into a sterile
Docker Desktopinstance usingdocker load -i <image-name>.tar - Executed using
docker run <image-name>:latestfor checking in the binary executables of the framework (golangas an example) is not corrupted