Compare commits

...

4 Commits

10 changed files with 12 additions and 12 deletions

View File

@ -3,9 +3,9 @@ FROM golang:buster as builder
ARG DEBIAN_FRONTEND=noninteractive ARG DEBIAN_FRONTEND=noninteractive
COPY dendrite /dendrite COPY dendrite /dendrite
WORKDIR /dendrite WORKDIR /dendrite
RUN ./build.sh RUN rm -rf .git && ./build.sh
FROM debian:buster FROM debian:buster-20210111-slim
COPY --from=builder /dendrite/bin/ /usr/local/bin/ COPY --from=builder /dendrite/bin/ /usr/local/bin/
COPY --from=builder /dendrite/dendrite-config.yaml /usr/local/share/ COPY --from=builder /dendrite/dendrite-config.yaml /usr/local/share/

View File

@ -10,7 +10,7 @@ nopush: git-clone
--tag ${CI_REGISTRY_IMAGE}/${IMAGE}:$(VERSION) . --tag ${CI_REGISTRY_IMAGE}/${IMAGE}:$(VERSION) .
push: git-clone push: git-clone
docker buildx build --platform linux/amd64,linux/arm64,linux/arm,linux/ppc64le --push \ docker buildx build --platform linux/amd64,linux/arm64 --push \
--build-arg VERSION=$(VERSION) \ --build-arg VERSION=$(VERSION) \
--cache-from=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \ --cache-from=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \
--cache-to=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \ --cache-to=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \
@ -18,4 +18,4 @@ push: git-clone
--tag ${CI_REGISTRY_IMAGE}/${IMAGE}:$(VERSION) . --tag ${CI_REGISTRY_IMAGE}/${IMAGE}:$(VERSION) .
git-clone: git-clone:
git clone -b v${VERSION} https://github.com/matrix-org/dendrite.git git clone -b v${VERSION} --depth 1 https://github.com/matrix-org/dendrite.git

View File

@ -1 +1 @@
VERSION=0.3.5 VERSION=0.3.6

View File

@ -1,4 +1,4 @@
FROM debian:buster-20201209-slim FROM debian:buster-20210111-slim
ADD https://curl.haxx.se/ca/cacert.pem /etc/ssl/certs/cacert.pem ADD https://curl.haxx.se/ca/cacert.pem /etc/ssl/certs/cacert.pem
ENV CURL_CA_BUNDLE=/etc/ssl/certs/cacert.pem ENV CURL_CA_BUNDLE=/etc/ssl/certs/cacert.pem

View File

@ -1 +1 @@
VERSION=12.0.1 VERSION=12.0.2

View File

@ -1,4 +1,4 @@
FROM alpine:3.12.3 FROM alpine:3.13.0
ENV MINIO_ACCESS_KEY_FILE=access_key \ ENV MINIO_ACCESS_KEY_FILE=access_key \
MINIO_SECRET_KEY_FILE=secret_key \ MINIO_SECRET_KEY_FILE=secret_key \

View File

@ -1 +1 @@
VERSION=RELEASE.2021-01-08T21-18-21Z VERSION=RELEASE.2021-01-16T02-19-44Z

View File

@ -1 +1 @@
VERSION=v2.2.1 VERSION=v2.2.2

View File

@ -1,4 +1,4 @@
FROM alpine:3.12.3 FROM alpine:3.13.0
ARG VERSION ARG VERSION
ARG TARGETARCH ARG TARGETARCH
ENV VERSION $VERSION ENV VERSION $VERSION

View File

@ -1,4 +1,4 @@
FROM debian:buster-20201209-slim FROM debian:buster-20210111-slim
ARG DEBIAN_FRONTEND=noninteractive ARG DEBIAN_FRONTEND=noninteractive
ARG VERSION ARG VERSION
RUN apt update -qq && \ RUN apt update -qq && \