Fix fully qualified docker images (#4905)

* Fix Python (docker) Docker image version not being recognized after adding registry to image names

* Fix Python (docs) Docker image version not being recognized after adding registry to image names

* Fix Python (django) Docker image version not being recognized after adding registry to image names
This commit is contained in:
GitBib 2024-03-06 05:50:01 -08:00 committed by GitHub
parent f1da6ba5f5
commit f39aff8b3f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 6 deletions

View File

@ -2,7 +2,7 @@
FROM docker.io/python:3.11.8-slim-bookworm as python FROM docker.io/python:3.11.8-slim-bookworm as python
# Python build stage # Python build stage
FROM docker.io/python as python-build-stage FROM python as python-build-stage
ARG BUILD_ENVIRONMENT=local ARG BUILD_ENVIRONMENT=local
@ -22,7 +22,7 @@ RUN pip wheel --wheel-dir /usr/src/app/wheels \
# Python 'run' stage # Python 'run' stage
FROM docker.io/python as python-run-stage FROM python as python-run-stage
ARG BUILD_ENVIRONMENT=local ARG BUILD_ENVIRONMENT=local
ARG APP_HOME=/app ARG APP_HOME=/app

View File

@ -3,7 +3,7 @@ FROM docker.io/python:3.11.8-slim-bookworm as python
# Python build stage # Python build stage
FROM docker.io/python as python-build-stage FROM python as python-build-stage
ENV PYTHONDONTWRITEBYTECODE 1 ENV PYTHONDONTWRITEBYTECODE 1
@ -26,7 +26,7 @@ RUN pip wheel --no-cache-dir --wheel-dir /usr/src/app/wheels \
# Python 'run' stage # Python 'run' stage
FROM docker.io/python as python-run-stage FROM python as python-run-stage
ARG BUILD_ENVIRONMENT ARG BUILD_ENVIRONMENT
ENV PYTHONUNBUFFERED 1 ENV PYTHONUNBUFFERED 1

View File

@ -28,7 +28,7 @@ RUN npm run build
FROM docker.io/python:3.11.8-slim-bookworm as python FROM docker.io/python:3.11.8-slim-bookworm as python
# Python build stage # Python build stage
FROM docker.io/python as python-build-stage FROM python as python-build-stage
ARG BUILD_ENVIRONMENT=production ARG BUILD_ENVIRONMENT=production
@ -48,7 +48,7 @@ RUN pip wheel --wheel-dir /usr/src/app/wheels \
# Python 'run' stage # Python 'run' stage
FROM docker.io/python as python-run-stage FROM python as python-run-stage
ARG BUILD_ENVIRONMENT=production ARG BUILD_ENVIRONMENT=production
ARG APP_HOME=/app ARG APP_HOME=/app