You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current Dockerfiles are split into separate steps.
Install build dependencies.
Build the engine.
Enable the engine.
Rebuild cURL.
Clean up.
The problem is that each of these steps produces a separate layer - and the first one can take a lot of space. To give you an example, rkix/openssl-gost:alpine image is around 80MB, but if you try to docker save it, you get a 300MB file! This is 200MB of useless data that everyone has to download and keep on their hard drive.
An obvious solution would be to move the whole process into a single shell script - this way we get a single layer with no dead weight.
The text was updated successfully, but these errors were encountered:
Current
Dockerfile
s are split into separate steps.The problem is that each of these steps produces a separate layer - and the first one can take a lot of space. To give you an example,
rkix/openssl-gost:alpine
image is around 80MB, but if you try todocker save
it, you get a 300MB file! This is 200MB of useless data that everyone has to download and keep on their hard drive.An obvious solution would be to move the whole process into a single shell script - this way we get a single layer with no dead weight.
The text was updated successfully, but these errors were encountered: