Removed pg14, Added pg17, bump alpine, move to matrix
This commit is contained in:
20
Dockerfile.pg17
Normal file
20
Dockerfile.pg17
Normal file
@@ -0,0 +1,20 @@
|
||||
FROM alpine:3.21
|
||||
|
||||
ENV APP_HOME=/home/app/docker-postgres-backup \
|
||||
PYTHONUNBUFFERED=1 \
|
||||
PYTHONDONTWRITEBYTECODE=1 \
|
||||
PIP_BREAK_SYSTEM_PACKAGES=1 \
|
||||
PIP_NO_CACHE_DIR=off \
|
||||
PIP_DISABLE_PIP_VERSION_CHECK=on \
|
||||
LANG=en_US.UTF-8
|
||||
|
||||
RUN apk --no-cache add postgresql17-client python3 py3-pip tini
|
||||
|
||||
COPY ./ $APP_HOME
|
||||
WORKDIR $APP_HOME
|
||||
|
||||
RUN python3 -m pip install $APP_HOME
|
||||
|
||||
ENTRYPOINT ["tini", "--"]
|
||||
|
||||
CMD ["python3", "start.py"]
|
||||
Reference in New Issue
Block a user