Is there a way to cache the:
apt-get install ...
step when building Docker images? During development of the image I have to re-create the image a couple of times, and it is always downloading all the packages again.(I don't want to run an entire apt mirror, that's too large)
#Apt #Debian #Ubuntu #Docker #DevOps
@ascherbaum can you not do what you need with a multi-stage build?
@intrbiz I could do multiple apt-get calls. But then again, I don't want to optimize this for Docker, but for the development process.
@ascherbaum@intrbiz
🤷🏼♂️It's your choice whether you prefer living with large volumes of downloads, or optimising for docker.
Time for a cuppa... Earl Grey please!
@intrbiz I could do multiple apt-get calls. But then again, I don't want to optimize this for Docker, but for the development process.