úprava publish
This commit is contained in:
@@ -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; \
|
||||
|
||||
Reference in New Issue
Block a user