Pin Pi server stable image

This commit is contained in:
Курнат Андрей
2026-06-08 20:59:30 +03:00
parent 458831c83c
commit e9aa9f8315
5 changed files with 41 additions and 10 deletions
+11 -2
View File
@@ -26,15 +26,21 @@ RUN make node-generate-prod
FROM golang:1.25-alpine AS build
ARG TARGETARCH=arm64
ARG QSFERA_VERSION=7.0.0
ARG QSFERA_EDITION=stable
ARG QSFERA_BUILD_DATE=20260608
RUN apk add bash make git curl gcc musl-dev libc-dev binutils-gold inotify-tools vips-dev
COPY --from=generate /qsfera /qsfera
WORKDIR /qsfera/qsfera
RUN make release-linux-docker-${TARGETARCH} ENABLE_VIPS=true DIST=/dist
RUN make release-linux-docker-${TARGETARCH} ENABLE_VIPS=true DIST=/dist VERSION="${QSFERA_VERSION}" EDITION="${QSFERA_EDITION}" DATE="${QSFERA_BUILD_DATE}"
FROM alpine:3.23
ARG TARGETARCH=arm64
ARG QSFERA_VERSION=7.0.0
ARG QSFERA_EDITION=stable
ARG QSFERA_BUILD_DATE=20260608
RUN apk add --no-cache attr ca-certificates curl mailcap tree vips && \
echo 'hosts: files dns' >| /etc/nsswitch.conf
@@ -46,7 +52,10 @@ LABEL maintainer="QSfera" \
org.opencontainers.image.description="КуСфера file-sync and share platform" \
org.opencontainers.image.licenses="Apache-2.0" \
org.opencontainers.image.documentation="" \
org.opencontainers.image.source=""
org.opencontainers.image.source="" \
org.opencontainers.image.version="${QSFERA_VERSION}" \
eu.qsfera.image.edition="${QSFERA_EDITION}" \
eu.qsfera.image.build-date="${QSFERA_BUILD_DATE}"
ENTRYPOINT ["/usr/bin/qsfera"]
CMD ["server"]