Comments (7)
@jdreesen the new multistage builds are much smaller as they share much more layers
from docker.
Do they? How can I see that? For me, not much seems to have changed:
REPOSITORY TAG IMAGE ID CREATED SIZE
pimcore/pimcore PHP8.1-cli 1af7d21f6c68 10 hours ago 2.81GB
pimcore/pimcore PHP8.1-fpm ad914ab4f56f 11 hours ago 2.77GB
/edit:
Alright, the new images weren't ready. Now both are the same size and the CLI image didn't need to pull anything, because the FPM image was already pulled.
REPOSITORY TAG IMAGE ID CREATED SIZE
pimcore/pimcore PHP8.1-cli e67ad21525e1 3 hours ago 2.77GB
pimcore/pimcore PHP8.1-fpm e67ad21525e1 3 hours ago 2.77GB
from docker.
Sound like a good idea to me. I use fpm flavor for executing pimcore CLI commands.
from docker.
I use the CLI build for workers
from docker.
Docker images can share layers as I understand it, so there could be some overlap, the sum of storage may not be 449+484MB right?
from docker.
I assume we won't be able to share the relevant layers if we use the official PHP CLI & FPM images as base, because most of the size comes from the many pimcore dependencies and the shared layers are only those before the PHP ones, no?
from docker.
Done by #98 and follow-up commits -> cli
is now an alias on fpm
.
from docker.
Related Issues (20)
- npm and nodejs are dropped HOT 2
- -
- Remove Inkscape HOT 1
- Remove LibreOffice HOT 9
- Cache ImageMagick builds HOT 2
- Add Security Scan to Tests
- Pimcore 11 HOT 8
- deployment error. HOT 8
- error in image(s) HOT 12
- `php: symbol lookup error` after new images have been pulled HOT 24
- PHPStorm freezes and request take a very long time if PHPStorm is listening for debug connections HOT 4
- Web2Print don't work - Headless Chrome HOT 5
- Are we affected by "sunsetting Docker Free Team" subscription? HOT 5
- Build ARM Natively HOT 5
- BUG Avif segfault at 20 ip 00007f47068a5b64 sp 00007ffefd5627a0 error 4 in libaom.so.0[7f4706712000+2da000] HOT 2
- Push Images to GitHub Packages
- [Bug]: Docker Project Initialization PHP & Supervisor Version Mismatch HOT 1
- Provide Bookworm based Images HOT 2
- Unable to perform install script HOT 1
- How to use chrome-sandbox to create PDFs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker.