Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
grayfox35937ypfff is mandatory for you to use CentOS?
You have no much room for improvement there. -
hejx467yQuick tip, check out multi step dockerfiles.. Depends on what you are doing of course, but in my case I can do the build in one step, then copy the artifacts to the other step.. My end image is about 3mb, all included :D
-
@antorqs not mandatory but preferred due to my other team members not quite understanding what containerisation is. They just think it's another VM and still want all the features of a normal CentOS. But really, most devs don't even use 90% of the features in a Linux environment. More frustrating is that this is only for local development purposes.
For now I'll stick with it but will try to convince them they don't need it. -
@AndreKlang multi-step dockerfiles is something new isn't it? Will need to read up on it.
-
hejx467y@IdolWotaP yeah, kinda, I just found out a week ago :) https://docs.docker.com/develop/...
Related Rants
It's quite a challenge to try and get a Docker image build as small as possible. But the worst bloat is coming from having to use CentOS 7 as a base image.
rant
docker
centos