diff --git a/Dockerfile b/Dockerfile index d682b2630..a8f11f4da 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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="massimods@met.no,aheimsbakk@met.no,tommkralidis@gmail.com" # Build arguments @@ -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