Alpine's rolling edge/community repository no longer offers vips=8.18.3-r0 (it moved to 8.18.4-r0), so the exact pin in the release Dockerfiles is unsatisfiable and the docker-build job fails with 'unable to select packages: vips-8.18.4-r0 breaks world[vips=8.18.3-r0]'. Bump the pin to the currently-available 8.18.4-r0 in all four linux Dockerfiles to unblock the v8.0.6 release build. 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.4-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
|