Skip to content

Commit

Permalink
(rollback) base docker images to python:3.11* and Django=4.2.8
Browse files Browse the repository at this point in the history
  • Loading branch information
danh91 committed Dec 11, 2023
1 parent 3587f9b commit 4d80b36
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docker/api/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# The base image compilation
FROM python:3.12-slim AS compile-image
FROM python:3.11-slim AS compile-image

ARG REQUIREMENTS="requirements.txt"
ARG REGISTRY_TOKEN
Expand All @@ -17,7 +17,7 @@ RUN cd /temp/app && \


# The runtime image
FROM python:3.12-slim AS build-image
FROM python:3.11-slim AS build-image

LABEL maintainer=hello@karrio.io
LABEL org.opencontainers.image.title="karrio server"
Expand Down
2 changes: 1 addition & 1 deletion docker/dev.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# The base image compilation
FROM python:3.12-slim-bullseye
FROM python:3.11-slim-bullseye


RUN apt-get update -y && apt-get install -y gcc libpango1.0-0 libpangoft2-1.0-0 ghostscript
Expand Down
1 change: 1 addition & 0 deletions requirements.server.dev.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
django-debug-toolbar
Django==4.2.8

# Carrier Extentions modules
-e ./modules/sdk
Expand Down
2 changes: 1 addition & 1 deletion source.requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Deprecated==1.2.14
deprecation==2.1.0
diff-match-patch==20230430
dj-database-url==2.1.0
Django==5.0
Django==4.2.8
django-constance==3.1.0
django-cors-headers==4.3.1
django-downloadview==2.3.0
Expand Down

0 comments on commit 4d80b36

Please sign in to comment.