Skip to content

Commit

Permalink
Fix Dockerfile args
Browse files Browse the repository at this point in the history
  • Loading branch information
grigorescu committed Nov 25, 2024
1 parent f270bab commit f0b0c43
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
4 changes: 3 additions & 1 deletion compose/local/django/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
FROM python:${PYTHON_IMAGE_VER:-3.12}-slim-bookworm
ARG PYTHON_IMAGE_VER=3.12

FROM python:${PYTHON_IMAGE_VER}-slim-bookworm

ENV PIP_ROOT_USER_ACTION ignore
ENV PYTHONUNBUFFERED 1
Expand Down
4 changes: 3 additions & 1 deletion compose/local/docs/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
FROM python:${PYTHON_IMAGE_VER:-3.12}-slim-bookworm
ARG PYTHON_IMAGE_VER=3.12

FROM python:${PYTHON_IMAGE_VER}-slim-bookworm

ENV PIP_ROOT_USER_ACTION ignore
ENV PYTHONUNBUFFERED 1
Expand Down
4 changes: 3 additions & 1 deletion compose/production/django/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
FROM python:${PYTHON_IMAGE_VER:-3.12}-slim-bookworm
ARG PYTHON_IMAGE_VER=3.12

FROM python:${PYTHON_IMAGE_VER}-slim-bookworm

ENV PYTHONUNBUFFERED 1

Expand Down
4 changes: 3 additions & 1 deletion compose/production/postgres/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
FROM postgres:${POSTGRES_IMAGE_VER:-12.3}
ARG POSTGRES_IMAGE_VER=12.3

FROM postgres:${POSTGRES_IMAGE_VER}

COPY ./compose/production/postgres/maintenance /usr/local/bin/maintenance
RUN chmod +x /usr/local/bin/maintenance/*
Expand Down

0 comments on commit f0b0c43

Please sign in to comment.