Skip to content

[PLATFORM-1237]: Minimize oci image size#61

Merged
cottinisimone merged 9 commits intomasterfrom
PLATFORM-1237/task/minimize-oci-image-size
Oct 6, 2023
Merged

[PLATFORM-1237]: Minimize oci image size#61
cottinisimone merged 9 commits intomasterfrom
PLATFORM-1237/task/minimize-oci-image-size

Conversation

@cottinisimone
Copy link
Contributor

https://prima-assicurazioni-spa.myjetbrains.com/youtrack/issue/PLATFORM-1237

At the end this is the final size of the built image. If you have other suggestions feel free to propose :).

REPOSITORY                             TAG                IMAGE ID       CREATED         SIZE
localauth0                             latest             f9f25d609e26   5 minutes ago   8.94MB

@cottinisimone cottinisimone requested a review from a team as a code owner October 6, 2023 10:46
@cpiemontese
Copy link
Contributor

This is really cool (I'll leave a proper review to someone else because I don't feel qualified)

Copy link
Member

@MaeIsBad MaeIsBad left a comment

Choose a reason for hiding this comment

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

Everything seems great. One small question but I think we can merge this 🚀

@@ -0,0 +1 @@
target No newline at end of file
Copy link
Member

Choose a reason for hiding this comment

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

We don't need this right? Shouldn't docker use .gitignore by default?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It seems not since it was copied in the context while building the image

@cottinisimone cottinisimone merged commit 0c3d9ca into master Oct 6, 2023
@cottinisimone cottinisimone deleted the PLATFORM-1237/task/minimize-oci-image-size branch October 6, 2023 12:48
Sign up for free to 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.

3 participants