Skip to content

Commit

Permalink
Upgrade docker image to latest debian stable (bookworm) (geopython#994)
Browse files Browse the repository at this point in the history
* Upgrade docker image to latest debian stable (bookworm)

* Do not upgrade base OS image with apt
  • Loading branch information
kalxas authored Aug 5, 2024
1 parent f995334 commit 3a1d805
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -36,7 +36,7 @@
#
# =================================================================

FROM python:3.10-slim-buster
FROM python:3.10-slim-bookworm
LABEL maintainer="massimods@met.no,aheimsbakk@met.no,tommkralidis@gmail.com"

# Build arguments
Expand All @@ -45,8 +45,7 @@ LABEL maintainer="massimods@met.no,aheimsbakk@met.no,tommkralidis@gmail.com"
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
Expand Down

0 comments on commit 3a1d805

Please sign in to comment.