Skip to content

Commit

Permalink
Dockerfile: Add step to upgrade all packages
Browse files Browse the repository at this point in the history
The `python:3.10-buster` base image already has various packages
pre-installed.

This commit adds a step to upgrade all pre-installed packages prior to
installing any additional packages in order to ensure that the packages
included in the Docker image are up-to-date.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
  • Loading branch information
stephanosio committed May 28, 2024
1 parent 3fd64e1 commit 76976a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ ENV SHELL=/bin/bash
# Install packages
RUN apt-get clean
RUN apt-get update
RUN apt-get upgrade -y

# software-properties for add-apt-repository
# locales for LANG support
Expand Down

0 comments on commit 76976a1

Please sign in to comment.