Reducing the Docker Image size #35
Replies: 9 comments 4 replies
-
I am absolutely open to a PR. It would be great to reduce the size for sure. Thanks |
Beta Was this translation helpful? Give feedback.
-
Glad to hear that :) I was thinking of using the linuxserver container as a base. For the following reasons:
Would that suit you? What's more, they offer a version with integrated nginx. Do you absolutely want to use apache, or are you open to nginx? |
Beta Was this translation helpful? Give feedback.
-
I don't have any real preferences as far as apache vs nginx. I just went with a quick and easy setup. As long as it doesn't prevent any features in Posteria and doesn't create any kind of hassle for users I am open to updating the Dockerfile setup. Thanks |
Beta Was this translation helpful? Give feedback.
-
Hi, there, I've started to look at the project a bit more closely and have a few questions/suggestions.
It would look like this: .
├── changelog.md
├── Dockerfile
├── images
│ ├── donate-button.png
│ ├── logo.png
│ ├── poster-wall.gif
│ └── posteria.png
├── src
│ ├── assets
│ │ ├── apple-touch-icon.png
│ │ ├── favicon-96x96.png
│ │ ├── favicon.ico
│ │ ├── favicon.svg
│ │ ├── site.webmanifest
│ │ ├── web-app-manifest-192x192.png
│ │ └── web-app-manifest-512x512.png
│ ├── include
│ │ ├── auto-import.php
│ │ ├── change-poster.php
│ │ ├── config.php
│ │ ├── delete-orphans.php
│ │ ├── fetch-posters.php
│ │ ├── get-from-plex.php
│ │ ├── library-tracking.php
│ │ ├── plex-id-storage.php
│ │ ├── plex-import.php
│ │ ├── send-to-plex.php
│ │ └── version.php
│ ├── index.php
│ ├── poster-wall
│ │ ├── check-streams.php
│ │ ├── index.php
│ │ └── proxy.php
│ └── scripts
│ └── remove-overlay-label.sh
├── docker
│ ├── docker-entrypoint.sh
│ └── posters
│ ├── movies
│ ├── collections
│ ├── tv-seasons
│ └── tv-shows
├── LICENSE
├── README.md
└── version
RUN \
echo "**** install runtime packages ****" && \
apk add --no-cache \
php82-curl \
php82-json \
php82-mbstring \
php82-openssl \
php82-session \
php82-xml \
php82-fileinfo \
freetype-dev \
libjpeg-turbo-dev \
libpng-dev By the way, using a That must be all for now 😁 |
Beta Was this translation helpful? Give feedback.
-
Hi @gaufre2 , Thank you for digging into this. I am absolutely cool with re-organizing things a bit. I have a few questions/comments.
|
Beta Was this translation helpful? Give feedback.
-
I put in an issue to track issues with cron after update. I am putting in a Breaking Change note to let users know how to deal with the issue. Please let me know if you have a better solution. Thanks |
Beta Was this translation helpful? Give feedback.
-
I have merged and updated the latest release with your fix. Thanks you!! |
Beta Was this translation helpful? Give feedback.
-
@jeremehancock, I apologize for not mentioning this sooner, but another breaking change is that the container paths for If possible, could this information be added to the breaking change notice? Example of the old compose:
Updated compose:
Thank you! |
Beta Was this translation helpful? Give feedback.
-
Since this has been released I am going to close this discussion. Thanks again! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm pretty sure we can reduce drastically le size of the docker image by using a build stage.
Are you open to PR?
I don't have much experience with php, so I might have 2/3 questions to ask you to make it as clean as possible.
Regards,
Beta Was this translation helpful? Give feedback.
All reactions