úprava publish

This commit is contained in:
2026-02-21 20:01:30 +00:00
parent b48ee09f80
commit f6b3091300
2 changed files with 15 additions and 9 deletions

View File

@@ -1,10 +1,15 @@
# Používame oficiálny Python image, ale env bude podobné ako v base:ubuntu
ARG PYTHON_VERSION=3.13
FROM python:${PYTHON_VERSION}-slim
ENV PYTHONUNBUFFERED=1 \
PIP_NO_CACHE_DIR=1 \
PIP_DISABLE_PIP_VERSION_CHECK=1
# Pouzivame oficialny Python image a build argy mapujeme na .devcontainer/.env.
ARG PYTHON_BASE=3.13
ARG PIP_INDEX_URL=https://dv.masara.eu/repository/pypi-group/simple
FROM python:${PYTHON_BASE}-slim
# Re-declare build args for this stage.
ARG PIP_INDEX_URL
ENV PYTHONUNBUFFERED=1 \
PIP_NO_CACHE_DIR=1 \
PIP_DISABLE_PIP_VERSION_CHECK=1 \
PIP_INDEX_URL=${PIP_INDEX_URL}
# Základ + Docker repo + docker-ce-cli + compose plugin + git
RUN set -eux; \