Dockerfile best practice #17244
-
I'm looking to create a new Dockerfile for our pimcore setup, with the intention of running on AWS ECS. I was wondering what is the best/most common practice for doing this?
-create the image from scratch? Pros/cons of the above 2 methods? To be honest right now leaning towards the custom image as I don't have any idea what is going on in the layers of the official pimcore dockerhub image Any help/advice much appreciated |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@gvanto i just used the provided image and locked the version |
Beta Was this translation helpful? Give feedback.
@gvanto i just used the provided image and locked the version
FROM pimcore/pimcore:php8.3-v3
, if you have zero trust, then you can also lock to a hash . If you do not trust pimcore to provide proper and secure images, create your own by forking that repo and build/push to your own registry. The images are kinda bloated, but that's the price you pay if you do not create your own image.Another consideration are updates and security fixes, do you have time to make those?