mirror of
https://github.com/whyour/qinglong.git
synced 2026-08-12 11:22:58 +08:00
fix: pin Python base for multi-arch builds
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
# full Debian build matrix, including arm/v7, ppc64le, and s390x.
|
# full Debian build matrix, including arm/v7, ppc64le, and s390x.
|
||||||
FROM node:20-bookworm-slim AS nodebuilder
|
FROM node:20-bookworm-slim AS nodebuilder
|
||||||
|
|
||||||
FROM python:3.11-slim-bookworm AS builder
|
FROM python:3.11.14-slim-bookworm AS builder
|
||||||
COPY package.json .npmrc pnpm-lock.yaml /tmp/build/
|
COPY package.json .npmrc pnpm-lock.yaml /tmp/build/
|
||||||
COPY --from=nodebuilder /usr/local/bin/node /usr/local/bin/
|
COPY --from=nodebuilder /usr/local/bin/node /usr/local/bin/
|
||||||
COPY --from=nodebuilder /usr/local/lib/node_modules/. /usr/local/lib/node_modules/
|
COPY --from=nodebuilder /usr/local/lib/node_modules/. /usr/local/lib/node_modules/
|
||||||
@@ -14,7 +14,7 @@ RUN set -x && \
|
|||||||
cd /tmp/build && \
|
cd /tmp/build && \
|
||||||
pnpm install --prod
|
pnpm install --prod
|
||||||
|
|
||||||
FROM python:3.11-slim-bookworm
|
FROM python:3.11.14-slim-bookworm
|
||||||
|
|
||||||
ARG QL_MAINTAINER="whyour"
|
ARG QL_MAINTAINER="whyour"
|
||||||
LABEL maintainer="${QL_MAINTAINER}"
|
LABEL maintainer="${QL_MAINTAINER}"
|
||||||
|
|||||||
Reference in New Issue
Block a user