* chore: release 8.0.5 Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com> * ci: stop publishing release images to Docker Hub Image build & push now lives in a separate repository. This pipeline keeps all safety gates (Trivy fs scan, Trivy image scan on the locally-built image, license check) but no longer logs in or pushes to Docker Hub. Removes the docker-scan, docker-manifest and docker-readme jobs (all publish-only or redundant with the docker-build image scan) and the now-unused docker_repos / is_production plumbing. Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com> * fix(idp): bump form-data to 4.0.6 (CVE-2026-12143) Trivy flagged form-data 4.0.4 (direct dep) and 4.0.5 (via axios) as HIGH CVE-2026-12143, fixed in 4.0.6. Bump the direct pin and add a pnpm override so the transitive copy resolves to >=4.0.6 as well. Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com> * chore: shorten education-user-delete changelog title calens enforces an 80-character limit on changelog titles; the existing title was 98 chars and failed the release changelog generation. Shorten it and move the endpoint detail into the body. Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com> * fix: bump pinned libvips to 8.18.3-r0 in Docker images The Docker images pin an exact vips version from Alpine's rolling edge/community repo. 8.18.2-r0 was dropped from edge (replaced by 8.18.3-r0), so the build failed with 'unable to select packages: vips-8.18.3-r0 breaks world[vips=8.18.2-r0]'. Bump the pin to the version edge currently ships. Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com> * fix: bump Go to 1.25.11 (CVE-2026-42504) The release image Trivy scan flagged the Go stdlib (v1.25.10) for HIGH CVE-2026-42504, a MIME header decoding DoS, fixed in 1.25.11. Bump the go directive in go.mod and the pinned GOLANG_BUILD_IMAGE accordingly. Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com> --------- Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
44 lines
1.6 KiB
Docker
44 lines
1.6 KiB
Docker
FROM amd64/alpine:latest
|
|
|
|
ARG VERSION=""
|
|
ARG REVISION=""
|
|
|
|
RUN apk upgrade --no-cache \
|
|
&& apk add --no-cache attr bash ca-certificates curl delve inotify-tools libc6-compat mailcap tree patch \
|
|
&& apk add --no-cache --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community "vips=8.18.3-r0" \
|
|
&& echo 'hosts: files dns' >| /etc/nsswitch.conf
|
|
|
|
LABEL maintainer="ownCloud GmbH <devops@owncloud.com>" \
|
|
org.opencontainers.image.title="ownCloud Infinite Scale" \
|
|
org.opencontainers.image.vendor="ownCloud GmbH" \
|
|
org.opencontainers.image.authors="ownCloud GmbH" \
|
|
org.opencontainers.image.description="oCIS - ownCloud Infinite Scale is a modern file-sync and share platform" \
|
|
org.opencontainers.image.licenses="Apache-2.0" \
|
|
org.opencontainers.image.documentation="https://github.com/owncloud/ocis" \
|
|
org.opencontainers.image.url="https://hub.docker.com/r/owncloud/ocis" \
|
|
org.opencontainers.image.source="https://github.com/owncloud/ocis" \
|
|
org.opencontainers.image.version="${VERSION}" \
|
|
org.opencontainers.image.revision="${REVISION}"
|
|
|
|
RUN addgroup -g 1000 -S ocis-group && \
|
|
adduser -S --ingroup ocis-group --uid 1000 ocis-user --home /var/lib/ocis
|
|
|
|
RUN mkdir -p /var/lib/ocis && \
|
|
chown -R ocis-user:ocis-group /var/lib/ocis && \
|
|
chmod -R 751 /var/lib/ocis && \
|
|
mkdir -p /etc/ocis && \
|
|
chown -R ocis-user:ocis-group /etc/ocis && \
|
|
chmod -R 751 /etc/ocis
|
|
|
|
VOLUME [ "/var/lib/ocis", "/etc/ocis" ]
|
|
WORKDIR /var/lib/ocis
|
|
|
|
USER 1000
|
|
|
|
EXPOSE 9200/tcp
|
|
|
|
ENTRYPOINT ["/usr/bin/ocis"]
|
|
CMD ["server"]
|
|
|
|
COPY dist/binaries/ocis-linux-amd64 /usr/bin/ocis
|