-
-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade docker image to latest debian stable (bookworm) (#994)
* Upgrade docker image to latest debian stable (bookworm) * Do not upgrade base OS image with apt
- Loading branch information
Showing
1 changed file
with
3 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
# Copyright (c) 2020 Ricardo Garcia Silva | ||
# Copyright (c) 2020 Massimo Di Stefano | ||
# Copyright (c) 2020 Tom Kralidis | ||
# Copyright (c) 2020 Angelos Tzotsos | ||
# Copyright (c) 2024 Angelos Tzotsos | ||
# | ||
# Permission is hereby granted, free of charge, to any person | ||
# obtaining a copy of this software and associated documentation | ||
|
@@ -36,7 +36,7 @@ | |
# | ||
# ================================================================= | ||
|
||
FROM python:3.10-slim-buster | ||
FROM python:3.10-slim-bookworm | ||
LABEL maintainer="[email protected],[email protected],[email protected]" | ||
|
||
# Build arguments | ||
|
@@ -45,8 +45,7 @@ LABEL maintainer="[email protected],[email protected],[email protected]" | |
ARG BUILD_DEV_IMAGE="false" | ||
|
||
RUN apt-get update --yes && \ | ||
apt-get upgrade --yes && \ | ||
apt-get install --yes --no-install-recommends ca-certificates libexpat1 python3-setuptools && \ | ||
apt-get install --yes --no-install-recommends ca-certificates python3-setuptools && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
RUN adduser --uid 1000 --gecos '' --disabled-password pycsw | ||
|