File tree Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change 39
39
run : |
40
40
DOCKER_IMAGE=ghcr.io/1panel-dev/maxkb-python-pg
41
41
DOCKER_PLATFORMS=${{ github.event.inputs.architecture }}
42
- TAG_NAME=python3.11-pg15.8
42
+ TAG_NAME=python3.11-pg17.4
43
43
DOCKER_IMAGE_TAGS="--tag ${DOCKER_IMAGE}:${TAG_NAME} --tag ${DOCKER_IMAGE}:latest"
44
44
echo ::set-output name=docker_image::${DOCKER_IMAGE}
45
45
echo ::set-output name=version::${TAG_NAME}
Original file line number Diff line number Diff line change
1
+ FROM python:3.11-slim-bullseye AS python-stage
2
+ FROM postgres:17.4-bullseye
3
+
4
+ ARG DEPENDENCIES=" \
5
+ libexpat1-dev \
6
+ libffi-dev \
7
+ curl \
8
+ ca-certificates \
9
+ vim \
10
+ gettext \
11
+ postgresql-17-pgvector \
12
+ postgresql-17-age"
13
+
14
+ RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
15
+ echo "Asia/Shanghai" > /etc/timezone && \
16
+ apt-get update && apt-get install -y --no-install-recommends $DEPENDENCIES && \
17
+ apt-get clean all && \
18
+ rm -rf /var/lib/apt/lists/*
19
+
20
+ COPY --from=python-stage /usr/local /usr/local
You can’t perform that action at this time.
0 commit comments