Closed hoangtrung99 closed 3 months ago
You can't run apk update
/ apk upgrade
?
You can't run
apk update
/apk upgrade
?
I've considered this, but it causes the build time to increase significantly.
@hoangtrung99
What about this?
@hoangtrung99
What about this?
@minkbear
RUN apt-get update \
&& apt-get upgrade -y \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* **/usr/share/doc/***
If we do this, it will significantly increase the image build time, so my temporary solution is:
RUN apt-get update \
&& apt-get install -y perl libde265-0 \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
I really don't think this type of "problem" should be issued to serversideup... update, upgrade etc should be done by the consumer. In every release, maybe, the image will be updated to the latest dependencies but don't think this needs a release just for this type of update
I really don't think this type of "problem" should be issued to serversideup... update, upgrade etc should be done by the consumer. In every release, maybe, the image will be updated to the latest dependencies but don't think this needs a release just for this type of update
I got it, I don't understand why Ubuntu is not getting the latest updates every time a new image is built.
Affected Docker Images
serversideup/php:8.2-fpm-nginx-v2.2.1
Docker Labels of the affected images
No response
Current Behavior
I use AWS Inspector and receive notifications about vulnerabilities, but I have found a way to update dependencies to fix those vulnerabilities. See the picture below ↓
Expected Behavior
I'm using v2 and it seems there's no way to update the Ubuntu base image, right? For some reasons, I can't switch to V3 at the moment.
Steps To Reproduce
This is my docker file
Host Operating System
AWS ECS
Docker Version
Anything else?