Skip to content

#38 - composer binary improvements - #40

Merged
mtracz merged 2 commits into
mainfrom
#38-composer-binary
Nov 18, 2022
Merged

#38 - composer binary improvements#40
mtracz merged 2 commits into
mainfrom
#38-composer-binary

Conversation

@mtracz

Copy link
Copy Markdown
Member

Use composer binary from docker image instead of curl installation.

Should close#38

@mtracz
mtracz requested review from a team and krzysztofrewakNovember 8, 2022 09:14

@krzysztofrewakkrzysztofrewak left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have you checked how smaller is this new container sizewise?

Comment threadDockerfile Outdated
Co-authored-by: Krzysztof Rewak <krzysztof.rewak@blumilk.pl>
@mtracz

mtracz commented Nov 8, 2022

Copy link
Copy Markdown
MemberAuthor

@krzysztofrewak
Final image size is the same (99,7 MB) for both cases.
Build with buildx, without cache is 2,5 seconds faster with copying composer from the image.
After cache layers, the build is the same fast.

To sum up, there is no big difference (in this case), but Dockerfile is more clear when composer bin is copying from the image.

@krzysztofrewak
krzysztofrewak requested a review from a teamNovember 15, 2022 09:07
@mtracz
mtracz merged commit a0fbe35 into mainNov 18, 2022
@mtracz
mtracz deleted the #38-composer-binary branch November 18, 2022 08:07
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Change Composer to binary

3 participants

@mtracz@krzysztofrewak@kamilpiech97