forked from data.coop/membersystem
Compare commits
2 commits
fa6a5cdb86
...
dd33a90896
Author | SHA1 | Date | |
---|---|---|---|
benjaoming | dd33a90896 | ||
Benjamin Bach | 2c99799d4d |
|
@ -1,10 +1,15 @@
|
||||||
FROM python:3.12-slim-bullseye
|
FROM python:3.12-slim-bullseye
|
||||||
|
|
||||||
|
# PYTHONFAULTHANDLER: Propagate tracebacks from all threads.
|
||||||
|
# PYTHONUNBUFFERED: Write terminal output straight to docker (to not confuse Docker Compose).
|
||||||
|
# PYTHONDONTWRITEBYTECODE: Dont write *pyc files at all, making it possible for a 100% read-only container.
|
||||||
|
# PIP_NO_CACHE_DIR: Disable PIP cache, we don't need pip's cache after building the image.
|
||||||
|
# PIP_DISABLE_PIP_VERSION_CHECK: Build the image with the available pip, do not check for updates (faster!)
|
||||||
|
# PIP_DEFAULT_TIMEOUT: Allow for longer timeouts.
|
||||||
ENV PYTHONFAULTHANDLER=1 \
|
ENV PYTHONFAULTHANDLER=1 \
|
||||||
PYTHONUNBUFFERED=1 \
|
PYTHONUNBUFFERED=1 \
|
||||||
PYTHONDONTWRITEBYTECODE=1 \
|
PYTHONDONTWRITEBYTECODE=1 \
|
||||||
PYTHONHASHSEED=random \
|
PIP_NO_CACHE_DIR=1 \
|
||||||
PIP_NO_CACHE_DIR=off \
|
|
||||||
PIP_DISABLE_PIP_VERSION_CHECK=on \
|
PIP_DISABLE_PIP_VERSION_CHECK=on \
|
||||||
PIP_DEFAULT_TIMEOUT=100
|
PIP_DEFAULT_TIMEOUT=100
|
||||||
ARG BUILD
|
ARG BUILD
|
||||||
|
|
Loading…
Reference in a new issue