From 94825aa967e22f441b9afad32755e352b3d7adc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Sandstr=C3=B6m?= Date: Sat, 30 Dec 2023 11:12:12 +0100 Subject: [PATCH] Upgrade python version to 3.12 in example. Fix install issue with netcat in example --- CHANGELOG.md | 2 ++ example_django_react_templatetags/Dockerfile | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 76288af..6c5cc51 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - Add pyproject.toml - Add ruff linter +- Upgrade python version to 3.12 in example +- Fix install issue with netcat in example ### Removed - Drop support for django 4.0 diff --git a/example_django_react_templatetags/Dockerfile b/example_django_react_templatetags/Dockerfile index 40060bc..e8e1c66 100644 --- a/example_django_react_templatetags/Dockerfile +++ b/example_django_react_templatetags/Dockerfile @@ -1,11 +1,11 @@ -FROM python:3.8-slim +FROM python:3.12-slim MAINTAINER Frojd ENV PYTHONUNBUFFERED=1 \ REQUIREMENTS=requirements.txt RUN apt-get update \ - && apt-get install -y netcat gcc libpq-dev \ + && apt-get install -y netcat-traditional gcc libpq-dev \ && apt-get install -y binutils libproj-dev \ && apt-get install -y gettext \ && rm -rf /var/lib/apt/lists/*