Compare commits

...

57 Commits

Author SHA1 Message Date
28675d7f44 Synapse 1.36.0 2021-06-16 06:11:52 +00:00
44797c4354 Update version 2021-06-09 08:48:48 +00:00
9798329c6c Update matrix-webhook/Dockerfile, synapse/Makefile files 2021-05-25 07:57:53 +00:00
e4c5e91057 Update matrix-webhook/Dockerfile 2021-05-19 12:38:15 +00:00
e98984f940 Update matrix-webhook/Dockerfile, matrix-webhook/Makefile files 2021-05-19 12:27:32 +00:00
f08fce28be Update Dockerfile 2021-05-19 12:23:48 +00:00
5ddc69bf00 Update Makefile 2021-05-17 13:55:13 +00:00
2f2aba2f94 Update matrix-webhook/Dockerfile, matrix-webhook/Makefile files 2021-05-17 11:47:39 +00:00
8c6ed3d881 Update dovecot/Dockerfile, dovecot/Makefile, .gitlab-ci.yml files 2021-05-15 20:01:30 +00:00
46b1a36bae UNIFI_VERSION=6.2.25-de0c6132b7 2021-05-15 07:17:17 +00:00
02bc4e82bf Element v1.7.27 2021-05-11 13:47:34 +00:00
9bdfe3db5d synapse 1.33.2 2021-05-11 13:45:53 +00:00
ef36a1ec1a Update matrix-webhook/Makefile, .gitlab-ci.yml files 2021-05-10 12:34:29 +00:00
26eb50901d Update hugo/Dockerfile 2021-05-09 20:09:56 +00:00
51319d06e3 Update Dockerfile 2021-05-08 12:01:52 +00:00
48d16d1b6f Update .gitlab-ci.yml 2021-05-08 11:59:43 +00:00
02c0e7e7ae Update Dockerfile 2021-05-08 11:50:20 +00:00
da99f7e4e9 Update hugo/Dockerfile 2021-05-08 11:14:00 +00:00
64cbc25c27 Update Makefile 2021-05-08 11:07:27 +00:00
2f83b43b23 Update hugo/Dockerfile, hugo/hugo.sh, hugo/Makefile, .gitlab-ci.yml files
Deleted borg/Dockerfile, borg/Makefile, borg/version, dendrite/Dockerfile, dendrite/Makefile, dendrite/entrypoint.sh, dendrite/version, minio/Dockerfile, minio/Makefile, minio/version, restic/Dockerfile, restic/Makefile, restic/version, watchdog/Dockerfile, watchdog/Makefile, watchdog/version files
2021-05-08 11:01:13 +00:00
7c429a2fc9 Update keycloak/Dockerfile, roundcubemail/Dockerfile, watchdog/Dockerfile, unifi/Dockerfile files 2021-05-07 05:44:28 +00:00
85cb1ed8bd Update version 2021-05-07 05:41:24 +00:00
e0e9a96154 Update element/Makefile 2021-05-04 09:43:27 +00:00
f70cc9c3c7 Update Dockerfile 2021-05-04 09:36:11 +00:00
c224357b36 Update .gitlab-ci.yml 2021-05-04 09:35:19 +00:00
8695a0eaa5 Update element/Makefile, element/Dockerfile, .gitlab-ci.yml files 2021-05-04 09:34:02 +00:00
e909a33232 Update version 2021-05-02 14:00:50 +00:00
6c45f29e23 Update synapse/Dockerfile 2021-05-01 18:10:12 +00:00
93bb6732f3 Update docker-entrypoint.sh 2021-04-30 15:13:22 +00:00
3a3fdc6e55 Update synapse/Dockerfile, synapse/Makefile files 2021-04-30 11:31:26 +00:00
4071758696 Update Dockerfile 2021-04-30 07:05:26 +00:00
9040815ab9 Update synapse/Dockerfile, synapse/Makefile files 2021-04-29 16:35:16 +00:00
7fef6bf63a Update Makefile 2021-04-29 14:20:49 +00:00
7ea1becf24 Update Makefile 2021-04-29 13:56:47 +00:00
465cee68bd fix target dockerfile 2021-04-29 15:37:57 +02:00
0a44914536 fix separatord 2021-04-29 15:23:43 +02:00
d38a19bfee Update synapse/Makefile 2021-04-29 13:16:05 +00:00
d752fcfe68 Update synapse/Makefile, .gitlab-ci.yml files 2021-04-29 13:08:13 +00:00
bb195ddc12 UNIFI_VERSION=6.2.23-d3a253013f 2021-04-28 12:23:39 +00:00
577a743a83 6.2.19
UNIFI_VERSION
2021-04-20 14:31:07 +00:00
e5368c9336 Update version 2021-04-13 13:28:38 +00:00
e48744774c UNIFI_VERSION=6.2.16-5e841c18e7 2021-04-09 04:05:01 +00:00
e2061992d1 UNIFI_VERSION=6.2.13-0c59325d51 2021-04-02 11:23:19 +00:00
dcd0c90456 UNIFI_VERSION=6.2.12-585ff7fdff 2021-03-30 16:00:14 +00:00
0b60c4b88a Update version 2021-03-24 08:14:47 +00:00
59bd3cd1f2 Update version 2021-03-17 20:37:48 +00:00
81c7be7cf0 Update version 2021-03-08 14:59:53 +00:00
1518b2d267 Update version 2021-03-05 07:37:42 +00:00
14af0d3877 Update version 2021-03-03 09:36:56 +00:00
10ffb41353 Update Dockerfile 2021-03-02 14:19:24 +00:00
5810781fd4 Update Dockerfile 2021-03-02 12:55:26 +00:00
303d218570 Update shields/Makefile, shields/Dockerfile files 2021-03-02 12:33:32 +00:00
c97ef43629 Update Makefile 2021-03-01 20:28:45 +00:00
1fb91c73f3 Update Makefile 2021-03-01 20:26:40 +00:00
a245874763 Update .gitlab-ci.yml, shields/Makefile, shields/version files 2021-03-01 20:23:58 +00:00
df57e4cb79 Update version 2021-03-01 14:00:31 +00:00
d86d91c336 Update version 2021-03-01 12:14:59 +00:00
39 changed files with 476 additions and 302 deletions

View File

@ -6,45 +6,57 @@ variables:
DOCKER_CLI_EXPERIMENTAL: enabled
DOCKER_BUILDKIT: 1
dev-minio:
dovecot:
stage: build
tags:
- docker
script:
- cd minio
- make nopush
only:
variables:
- $CI_COMMIT_REF_PROTECTED == "false"
changes:
- minio/*
minio:
stage: build
tags:
- docker
script:
- cd minio
- cd dovecot
- make push
only:
variables:
- $CI_COMMIT_REF_PROTECTED == "true"
changes:
- minio/*
- dovecot/*
dev-watchdog:
element:
stage: build
tags:
- docker
script:
- cd watchdog
- make nopush
- cd element
- make push
only:
variables:
- $CI_COMMIT_REF_PROTECTED == "false"
- $CI_COMMIT_REF_PROTECTED == "true"
changes:
- watchdog/*
- element/*
matrix-webhook:
stage: build
tags:
- docker
script:
- cd matrix-webhook
- make push
only:
variables:
- $CI_COMMIT_REF_PROTECTED == "true"
changes:
- matrix-webhook/*
hugo:
stage: build
tags:
- docker
script:
- cd hugo
- make push
only:
variables:
- $CI_COMMIT_REF_PROTECTED == "true"
changes:
- hugo/*
watchdog:
stage: build
@ -59,19 +71,6 @@ watchdog:
changes:
- watchdog/*
dev-unifi:
stage: build
tags:
- docker
script:
- cd unifi
- make nopush
only:
variables:
- $CI_COMMIT_REF_PROTECTED == "false"
changes:
- unifi/*
unifi:
stage: build
tags:
@ -85,19 +84,6 @@ unifi:
changes:
- unifi/*
dev-keycloak:
stage: build
tags:
- docker
script:
- cd keycloak
- make nopush
only:
variables:
- $CI_COMMIT_REF_PROTECTED == "false"
changes:
- keycloak/*
keycloak:
stage: build
tags:
@ -111,32 +97,6 @@ keycloak:
changes:
- keycloak/*
dev-restic:
stage: build
tags:
- docker
script:
- cd restic
- make nopush
only:
variables:
- $CI_COMMIT_REF_PROTECTED == "false"
changes:
- restic/*
restic:
stage: build
tags:
- docker
script:
- cd restic
- make push
only:
variables:
- $CI_COMMIT_REF_PROTECTED == "true"
changes:
- restic/*
pleroma:
stage: build
tags:
@ -150,19 +110,6 @@ pleroma:
changes:
- pleroma/*
dendrite:
stage: build
tags:
- docker
script:
- cd dendrite
- make push
only:
variables:
- $CI_COMMIT_REF_PROTECTED == "true"
changes:
- dendrite/*
roundcubemail:
stage: build
tags:
@ -176,18 +123,31 @@ roundcubemail:
changes:
- roundcubemail/*
borg:
shields:
stage: build
tags:
- docker
script:
- cd borg
- cd shields
- make push
only:
variables:
- $CI_COMMIT_REF_PROTECTED == "true"
changes:
- borg/*
- shields/*
synapse:
stage: build
tags:
- docker
script:
- cd synapse
- make push
only:
variables:
- $CI_COMMIT_REF_PROTECTED == "true"
changes:
- synapse/*
.docker_init: &docker_init |
if ! docker info &>/dev/null; then
@ -204,8 +164,8 @@ borg:
fi
mkdir -p /root/.docker/cli-plugins
wget https://github.com/docker/buildx/releases/download/v0.4.2/buildx-v0.4.2.linux-amd64
mv buildx-v0.4.2.linux-amd64 /root/.docker/cli-plugins/docker-buildx
wget https://github.com/docker/buildx/releases/download/v0.5.1/buildx-v0.5.1.linux-amd64
mv buildx-v0.5.1.linux-amd64 /root/.docker/cli-plugins/docker-buildx
chmod +x /root/.docker/cli-plugins/docker-buildx
before_script:

View File

@ -1,19 +0,0 @@
FROM debian:buster-20210208-slim as builder
ARG DEBIAN_FRONTEND=noninteractive
ARG TARGETARCH
RUN apt update -qq && apt install wget -qqy && rm -rf /var/lib/apt/lists/*
ARG VERSION
RUN case $TARGETARCH in \
arm) \
wget https://dl.bintray.com/borg-binary-builder/borg-binaries/borg-${VERSION}-armv6 -O /usr/bin/borg \
;; \
arm64) \
wget https://dl.bintray.com/borg-binary-builder/borg-binaries/borg-${VERSION}-arm64 -O /usr/bin/borg \
;; \
amd64) \
wget https://github.com/borgbackup/borg/releases/download/${VERSION}/borg-linux64 -O /usr/bin/borg \
;; \
esac && \
chmod a+x /usr/bin/borg
FROM debian:buster-20210208-slim
COPY --from=builder /usr/bin/borg /usr/bin/borg

View File

@ -1,18 +0,0 @@
NAMESPACE=alemairebe
include version
IMAGE=borg
nopush:
docker buildx build --platform linux/amd64 --load \
--build-arg VERSION=$(VERSION) \
--tag ${NAMESPACE}/${IMAGE}:$(VERSION) \
--tag ${CI_REGISTRY_IMAGE}/${IMAGE}:$(VERSION) .
push:
docker buildx build --platform linux/amd64,linux/arm64,linux/arm --push \
--build-arg VERSION=$(VERSION) \
--cache-from=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \
--cache-to=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \
--tag ${NAMESPACE}/${IMAGE}:$(VERSION) \
--tag ${CI_REGISTRY_IMAGE}/${IMAGE}:$(VERSION) .

View File

@ -1 +0,0 @@
VERSION=1.1.15

View File

@ -1,15 +0,0 @@
FROM golang:buster as builder
ARG DEBIAN_FRONTEND=noninteractive
ARG VERSION
WORKDIR /
RUN git clone -b v${VERSION} --depth 1 https://github.com/matrix-org/dendrite.git && \
cd dendrite && rm -rf .git && ./build.sh
FROM debian:buster-20210208-slim
COPY --from=builder /dendrite/bin/ /usr/local/bin/
COPY --from=builder /dendrite/dendrite-config.yaml /usr/local/share/
COPY entrypoint.sh /usr/local/bin/
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]

View File

@ -1,21 +0,0 @@
NAMESPACE=alemairebe
include version
IMAGE=dendrite
nopush:
docker buildx build --platform linux/amd64 --load \
--build-arg VERSION=$(VERSION) \
--tag ${NAMESPACE}/${IMAGE}:$(VERSION) \
--tag ${CI_REGISTRY_IMAGE}/${IMAGE}:$(VERSION) .
push:
docker buildx build --platform linux/amd64,linux/arm64 --push \
--build-arg VERSION=$(VERSION) \
--cache-from=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \
--cache-to=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \
--tag ${NAMESPACE}/${IMAGE}:$(VERSION) \
--tag ${CI_REGISTRY_IMAGE}/${IMAGE}:$(VERSION) .
git-clone:
git clone -b v${VERSION} --depth 1 https://github.com/matrix-org/dendrite.git

View File

@ -1,13 +0,0 @@
#!/bin/bash
if [ ! -f /usr/local/etc/dendrite.yaml ]; then
cp /usr/local/share/dendrite-config.yaml /usr/local/etc/dendrite.yaml
fi
if [ ! -f /usr/local/etc/matrix_key.pem ]; then
/usr/local/bin/generate-keys --private-key /usr/local/etc/matrix_key.pem
fi
/usr/local/bin/dendrite-monolith-server --config /usr/local/etc/dendrite.yaml

View File

@ -1 +0,0 @@
VERSION=0.3.8

29
dovecot/Dockerfile Normal file
View File

@ -0,0 +1,29 @@
ARG DEBIAN_VERSION=20210408
FROM docker.io/debian:bullseye-${DEBIAN_VERSION}-slim
ENV container=docker
ENV LC_ALL=C
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get -y update && apt-get -y install \
tini \
dovecot-core \
dovecot-imapd \
dovecot-lmtpd \
dovecot-ldap \
dovecot-managesieved \
dovecot-mysql \
dovecot-pgsql \
dovecot-sqlite \
dovecot-pop3d \
dovecot-sieve \
dovecot-solr \
dovecot-submissiond \
ca-certificates \
ssl-cert \
&& rm -rf /etc/dovecot \
&& mkdir /srv/mail && chown dovecot:dovecot /srv/mail \
&& rm -rf /var/lib/apt/lists/*
VOLUME [/etc/dovecot /srv/mail /var/mail]
ENTRYPOINT ["/sbin/tini" "--"]
CMD ["/usr/sbin/dovecot" "-F"]

17
dovecot/Makefile Normal file
View File

@ -0,0 +1,17 @@
NAMESPACE=alemairebe
VERSION=2.3.13
IMAGE=dovecot
push:
docker buildx build --platform linux/amd64,linux/arm64,linux/arm --push \
--cache-from=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \
--cache-to=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \
--tag ${CI_REGISTRY_IMAGE}/${IMAGE}:$(VERSION) \
--tag ${NAMESPACE}/${IMAGE}:$(VERSION) \
-f Dockerfile .
dev:
docker buildx build --platform linux/amd64,linux/arm64,linux/arm \
--output type=tar,dest=synapse.tar \
--tag ${NAMESPACE}/${IMAGE}:$(VERSION) \
-f Dockerfile ${IMAGE}-${VERSION}

8
element/Dockerfile Normal file
View File

@ -0,0 +1,8 @@
FROM nginx:1.20.0-alpine
COPY ./element /app
# Insert wasm type into Nginx mime.types file so they load correctly.
RUN sed -i '3i\ \ \ \ application/wasm wasm\;' /etc/nginx/mime.types \
&& rm -rf /usr/share/nginx/html \
&& ln -s /app /usr/share/nginx/html

20
element/Makefile Normal file
View File

@ -0,0 +1,20 @@
NAMESPACE=alemairebe
IMAGE=element
VERSION=v1.7.28
push: get decompress build
get:
wget https://github.com/vector-im/element-web/releases/download/${VERSION}/element-${VERSION}.tar.gz
decompress:
tar -xf element-$(VERSION).tar.gz
mv element-$(VERSION) element
mv element/config.sample.json element/config.json
build:
docker buildx build --platform linux/amd64,linux/arm64,linux/arm --push \
--cache-from=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \
--cache-to=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \
--tag ${NAMESPACE}/${IMAGE}:$(VERSION) \
--tag ${CI_REGISTRY_IMAGE}/${IMAGE}:$(VERSION) .

4
hugo/Dockerfile Normal file
View File

@ -0,0 +1,4 @@
ARG ALPINE_VERSION=3.13.5
FROM docker.io/alpine:${ALPINE_VERSION}
RUN apk add --no-cache hugo rsync openssh-client

14
hugo/Makefile Normal file
View File

@ -0,0 +1,14 @@
NAMESPACE=alemairebe
IMAGE=hugo
VERSION=0.83.1
push: build
build:
docker buildx build --platform linux/amd64,linux/arm64,linux/arm --push \
--build-arg HUGO_VERSION=${VERSION} \
--cache-from=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \
--cache-to=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \
--tag ${NAMESPACE}/${IMAGE}:$(VERSION) \
--tag ${CI_REGISTRY_IMAGE}/${IMAGE}:$(VERSION) .

49
hugo/hugo.sh Normal file
View File

@ -0,0 +1,49 @@
#!/bin/sh
# This file is triggered inside the _base/Dockerfile-base file.
set -e
set -u
# Variables
# HUGO_VERSION is edited in Dockerfile.
# Architecture
TARGETPLATFORM=${TARGETPLATFORM:-linux/amd64}
if [ "$TARGETPLATFORM" = "linux/amd64" ]; then
HUGO_ARCH="64bit"
elif [ "$TARGETPLATFORM" = "linux/arm64" ]; then
HUGO_ARCH="ARM64"
elif [ "$TARGETPLATFORM" = "linux/arm/v7" ]; then
HUGO_ARCH="ARM"
else
echo "Unknown build architecture: $TARGETPLATFORM"
exit 2
fi
# Download binaries from release
wget https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_Linux-${HUGO_ARCH}.tar.gz
wget https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_checksums.txt
# Verify checksums
grep hugo_${HUGO_VERSION}_Linux-${HUGO_ARCH}.tar.gz hugo_${HUGO_VERSION}_checksums.txt | sha256sum -c
# Prepare folders
mkdir -p /usr/local/bin/
# Unpack downloaded content
tar -zxf hugo_${HUGO_VERSION}_Linux-${HUGO_ARCH}.tar.gz -C /usr/local/bin
# Verify executable
/usr/local/bin/hugo version
# Create autocompletion script
mkdir -p /etc/bash_completion.d
/usr/local/bin/hugo gen autocomplete > /etc/bash_completion.d/hugo.sh
# Create version file
echo -n "${HUGO_VERSION}" > /etc/hugo-release
# Remove binaries
rm hugo_${HUGO_VERSION}_Linux-${HUGO_ARCH}.tar.gz hugo_${HUGO_VERSION}_checksums.txt

View File

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

View File

@ -1 +1 @@
VERSION=12.0.3
VERSION=13.0.0

25
matrix-webhook/Dockerfile Normal file
View File

@ -0,0 +1,25 @@
FROM node:10-alpine
COPY . /
WORKDIR /
ENV NODE_ENV=development
RUN npm install -g npm-check-updates
RUN ncu -u matrix-appservice-bridge
RUN apk add --no-cache -t build-deps make gcc g++ python libc-dev wget git dos2unix \
&& apk add --no-cache ca-certificates \
&& dos2unix docker-start.sh \
&& chmod +x docker-start.sh \
&& npm install \
&& apk del build-deps
ENV NODE_ENV=production
ENV WEBHOOKS_USER_STORE_PATH=/data/user-store.db
ENV WEBHOOKS_ROOM_STORE_PATH=/data/room-store.db
ENV WEBHOOKS_DB_CONFIG_PATH=/data/database.json
ENV WEBHOOKS_ENV=docker
CMD /docker-start.sh
EXPOSE 9000
VOLUME ["/data"]

20
matrix-webhook/Makefile Normal file
View File

@ -0,0 +1,20 @@
NAMESPACE=alemairebe
VERSION=0.0.3
IMAGE=matrix-webhook
push: get decompress build
get:
wget https://github.com/turt2live/matrix-appservice-webhooks/archive/refs/heads/master.zip
decompress:
unzip master.zip
build:
docker buildx build --platform linux/amd64,linux/arm64 --push \
--cache-from=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \
--cache-to=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \
--tag ${NAMESPACE}/${IMAGE}:$(VERSION) \
--tag ${CI_REGISTRY_IMAGE}/${IMAGE}:$(VERSION) \
-f Dockerfile matrix-appservice-webhooks-master

View File

@ -1,40 +0,0 @@
FROM golang:1.15-alpine as builder
LABEL maintainer="MinIO Inc <dev@min.io>"
ARG VERSION
ARG TARGETARCH
ENV VERSION $VERSION
ENV GOPATH /go
ENV CGO_ENABLED 0
ENV GO111MODULE on
RUN \
apk add --no-cache git && \
git clone -b ${VERSION} --depth 1 https://github.com/minio/minio && cd minio && \
go install -v -ldflags "$(go run buildscripts/gen-ldflags.go)"
FROM alpine:3.13.0
ENV MINIO_ACCESS_KEY_FILE=access_key \
MINIO_SECRET_KEY_FILE=secret_key \
MINIO_KMS_MASTER_KEY_FILE=kms_master_key \
MINIO_SSE_MASTER_KEY_FILE=sse_master_key \
MINIO_UPDATE_MINISIGN_PUBKEY="RWTx5Zr1tiHQLwG9keckT0c45M3AGeHD6IvimQHpyRywVWGbP1aVSGav"
EXPOSE 9000
RUN \
apk add --no-cache ca-certificates 'curl>7.61.0' 'su-exec>=0.2' && \
echo 'hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4' >> /etc/nsswitch.conf
ARG VERSION
ENV VERSION $VERSION
COPY --from=builder /go/bin/minio /usr/bin/minio
COPY --from=builder /go/minio/dockerscripts/docker-entrypoint.sh /usr/bin/
ENTRYPOINT ["/usr/bin/docker-entrypoint.sh"]
VOLUME ["/data"]
CMD ["minio"]

View File

@ -1,19 +0,0 @@
NAMESPACE=alemairebe
include version
IMAGE=minio
nopush:
docker buildx build --platform linux/amd64 --load \
--build-arg VERSION=$(VERSION) \
--tag ${NAMESPACE}/${IMAGE}:$(VERSION) \
--tag ${CI_REGISTRY_IMAGE}/${IMAGE}:$(VERSION) .
push:
docker buildx build --platform linux/amd64,linux/arm64,linux/arm --push \
--build-arg VERSION=$(VERSION) \
--cache-from=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \
--cache-to=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \
--tag ${NAMESPACE}/${IMAGE}:$(VERSION) \
--tag ${CI_REGISTRY_IMAGE}/${IMAGE}:$(VERSION) .

View File

@ -1 +0,0 @@
VERSION=RELEASE.2021-02-07T01-31-02Z

View File

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

View File

@ -1,7 +0,0 @@
FROM alpine:3.13.0
ARG VERSION
ARG TARGETARCH
ENV VERSION $VERSION
ADD https://github.com/restic/restic/releases/download/v${VERSION}/restic_${VERSION}_linux_${TARGETARCH}.bz2 /root/restic.bz2
RUN bunzip2 /root/restic.bz2 && chmod +x /root/restic && mv /root/restic /usr/bin/restic
ENTRYPOINT ["/usr/bin/restic"]

View File

@ -1,18 +0,0 @@
NAMESPACE=alemairebe
include version
IMAGE=restic
nopush:
docker buildx build --platform linux/amd64 --load \
--build-arg VERSION=$(VERSION) \
--tag ${NAMESPACE}/${IMAGE}:$(VERSION) \
--tag ${CI_REGISTRY_IMAGE}/${IMAGE}:$(VERSION) .
push:
docker buildx build --platform linux/amd64,linux/arm64,linux/arm,linux/ppc64le --push \
--build-arg VERSION=$(VERSION) \
--cache-from=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \
--cache-to=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \
--tag ${NAMESPACE}/${IMAGE}:$(VERSION) \
--tag ${CI_REGISTRY_IMAGE}/${IMAGE}:$(VERSION) .

View File

@ -1 +0,0 @@
VERSION=0.11.0

View File

@ -1,4 +1,4 @@
FROM debian:buster-20210208-slim
FROM debian:buster-20210408-slim
ENV APACHE_CONFDIR /etc/apache2
ENV APACHE_ENVVARS $APACHE_CONFDIR/envvars
RUN set -ex; \

View File

@ -70,6 +70,10 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
: "${ROUNDCUBEMAIL_PLUGINS:=archive,zipdownload}"
: "${ROUNDCUBEMAIL_SKIN:=larry}"
: "${ROUNDCUBEMAIL_TEMP_DIR:=/tmp/roundcube-temp}"
: "${ROUNDCUBEMAIL_IMAP_CACHE_TTL:7d}"
: "${ROUNDCUBEMAIL_MESSAGES_CACHE_TTL:3m}"
: "${ROUNDCUBEMAIL_MESSAGES_CACHE_TRESHOLD:3mb}"
if [ ! -e config/config.inc.php ]; then
ROUNDCUBEMAIL_DES_KEY=`head /dev/urandom | base64 | head -c 24`
@ -100,6 +104,11 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
\$config['temp_dir'] = '${ROUNDCUBEMAIL_TEMP_DIR}';
\$config['skin'] = '${ROUNDCUBEMAIL_SKIN}';
\$config['plugins'] = array_filter(array_unique(array_merge(\$config['plugins'], ['${ROUNDCUBEMAIL_PLUGINS_PHP}'])));
\$config['imap_cache'] = 'db';
\$config['imap_cache_ttl'] = '${ROUNDCUBEMAIL_IMAP_CACHE_TTL}';
\$config['messages_cache'] = 'db';
\$config['messages_cache_threshold'] = '${ROUNDCUBEMAIL_MESSAGES_CACHE_THRESHOLD}';
\$config['messages_cache_ttl'] = '${ROUNDCUBEMAIL_MESSAGES_CACHE_TTL}';
" > config/config.docker.inc.php
if [ -e /run/secrets/roundcube_des_key ]; then

View File

@ -1 +1 @@
VERSION=1.4.11
VERSION=1.5-beta

18
shields/Dockerfile Normal file
View File

@ -0,0 +1,18 @@
FROM node:12-alpine
RUN mkdir -p /usr/src/app/private
WORKDIR /usr/src/app
COPY . /usr/src/app
# We need dev deps to build the front end. We don't need Cypress, though.
RUN NODE_ENV=development CYPRESS_INSTALL_BINARY=0 npm ci && \
npm run build && \
npm prune --production && \
npm cache clean --force
# Run the server using production configs.
ENV NODE_ENV production
CMD node server
EXPOSE 80

20
shields/Makefile Normal file
View File

@ -0,0 +1,20 @@
NAMESPACE=alemairebe
include version
IMAGE=shields
push: get decompress build
get:
wget https://github.com/badges/shields/archive/$(VERSION).tar.gz
decompress:
tar -xf $(VERSION).tar.gz
build:
docker buildx build --platform linux/amd64,linux/arm64 --push \
--cache-from=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \
--cache-to=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \
--tag ${NAMESPACE}/${IMAGE}:$(VERSION) \
--tag ${CI_REGISTRY_IMAGE}/${IMAGE}:$(VERSION) \
--file Dockerfile shields-$(VERSION)

1
shields/version Normal file
View File

@ -0,0 +1 @@
VERSION=server-2021-05-01

155
synapse/Dockerfile Normal file
View File

@ -0,0 +1,155 @@
# Dockerfile to build the matrixdotorg/synapse docker images.
#
# To build the image, run `docker build` command from the root of the
# synapse repository:
#
# docker build -f docker/Dockerfile .
#
#
ARG DEBIAN_VERSION=20210408
###
### Stage 0: builder
###
FROM docker.io/debian:bullseye-${DEBIAN_VERSION}-slim as builder
# install the OS build deps
RUN apt-get update && apt-get install -y \
build-essential \
libffi-dev \
libjpeg-dev \
libpq-dev \
libssl-dev \
libwebp-dev \
libxml++2.6-dev \
libxslt1-dev \
openssl \
python3-dev \
cargo \
rustc \
zlib1g-dev \
python3-pip \
python3-jsonschema \
python3-frozendict \
python3-unpaddedbase64 \
python3-nacl \
python3-idna \
python3-twisted \
python3-treq \
python3-yaml \
python3-pyasn1-modules \
python3-bcrypt \
python3-pillow \
python3-sortedcontainers \
python3-pymacaroons \
python3-msgpack \
python3-phonenumbers \
python3-netaddr \
python3-jinja2 \
python3-bleach \
python3-pysaml2 \
python3-systemd \
python3-lxml \
python3-jwt \
python3-hiredis\
python3-canonicaljson \
python3-signedjson \
python3-typing-extensions \
python3-psycopg2cffi \
python3-txacme \
python3-authlib \
python3-sentry-sdk \
python3-opentracing \
&& rm -rf /var/lib/apt/lists/*
# Copy just what we need to pip install
COPY scripts /synapse/scripts/
COPY MANIFEST.in README.rst setup.py synctl /synapse/
COPY synapse/__init__.py /synapse/synapse/__init__.py
COPY synapse/python_dependencies.py /synapse/synapse/python_dependencies.py
# To speed up rebuilds, install all of the dependencies before we copy over
# the whole synapse project so that we this layer in the Docker cache can be
# used while you develop on the source
#
# This is aiming at installing the `install_requires` and `extras_require` from `setup.py`
RUN pip install --upgrade pip && \
pip install --prefix="/install" --no-warn-script-location \
/synapse[all]
# Copy over the rest of the project
COPY synapse /synapse/synapse/
# Install the synapse package itself and all of its children packages.
#
# This is aiming at installing only the `packages=find_packages(...)` from `setup.py
RUN pip3 install --prefix="/install" --no-deps --no-warn-script-location /synapse
###
### Stage 1: runtime
###
FROM docker.io/debian:bullseye-${DEBIAN_VERSION}-slim
LABEL org.opencontainers.image.url='https://matrix.org/docs/projects/server/synapse'
LABEL org.opencontainers.image.documentation='https://github.com/matrix-org/synapse/blob/master/docker/README.md'
LABEL org.opencontainers.image.source='https://github.com/matrix-org/synapse.git'
LABEL org.opencontainers.image.licenses='Apache-2.0'
RUN apt-get update && apt-get install -y --no-install-recommends \
curl \
gosu \
libjpeg62-turbo \
libpq5 \
libwebp6 \
xmlsec1 \
libjemalloc2 \
libssl-dev \
openssl \
python3-jsonschema \
python3-frozendict \
python3-unpaddedbase64 \
python3-nacl \
python3-idna \
python3-twisted \
python3-treq \
python3-yaml \
python3-pyasn1-modules \
python3-bcrypt \
python3-pillow \
python3-sortedcontainers \
python3-pymacaroons \
python3-msgpack \
python3-phonenumbers \
python3-netaddr \
python3-jinja2 \
python3-bleach \
python3-pysaml2 \
python3-systemd \
python3-lxml \
python3-jwt \
python3-hiredis\
python3-canonicaljson \
python3-signedjson \
python3-typing-extensions \
python3-psycopg2cffi \
python3-txacme \
python3-authlib \
python3-sentry-sdk \
python3-opentracing \
&& rm -rf /var/lib/apt/lists/*
COPY --from=builder /install /usr/local
COPY ./docker/start.py /start.py
COPY ./docker/conf /conf
RUN ln -s /usr/bin/python3 /usr/local/bin/python && \
mv /usr/local/lib/python3.9/site-packages/* /usr/local/lib/python3.9/dist-packages/
VOLUME ["/data"]
EXPOSE 8008/tcp 8009/tcp 8448/tcp
ENTRYPOINT ["/start.py"]
HEALTHCHECK --interval=1m --timeout=5s \
CMD curl -fSs http://localhost:8008/health || exit 1

27
synapse/Makefile Normal file
View File

@ -0,0 +1,27 @@
NAMESPACE=alemairebe
VERSION=1.36.0
IMAGE=synapse
push: get decompress build
dev: get decompress build_dev
get:
wget https://github.com/matrix-org/synapse/archive/refs/tags/v$(VERSION).tar.gz
decompress:
tar -xf v$(VERSION).tar.gz
build:
docker buildx build --platform linux/amd64,linux/arm64,linux/arm --push \
--cache-from=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \
--cache-to=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \
--tag ${CI_REGISTRY_IMAGE}/${IMAGE}:$(VERSION) \
--tag ${NAMESPACE}/${IMAGE}:$(VERSION) \
-f Dockerfile ${IMAGE}-${VERSION}
build_dev:
docker buildx build --platform linux/amd64,linux/arm64,linux/arm \
--output type=tar,dest=synapse.tar \
--tag ${NAMESPACE}/${IMAGE}:$(VERSION) \
-f Dockerfile ${IMAGE}-${VERSION}

View File

@ -1,4 +1,4 @@
FROM ubuntu:focal-20210119
FROM ubuntu:focal-20210416
ARG DEBIAN_FRONTEND=noninteractive
COPY entrypoint.sh /docker-entrypoint.sh

View File

@ -1,2 +1,2 @@
VERSION=6.1.61
UNIFI_VERSION=6.1.61-5b1c34fbe3
VERSION=6.2.26
UNIFI_VERSION=6.2.26-a79cb15f05

View File

@ -1,8 +0,0 @@
FROM debian:buster-20210111-slim
ARG DEBIAN_FRONTEND=noninteractive
ARG VERSION
RUN apt update -qq && \
apt install -qqy --no-install-recommends watchdog=$VERSION && \
rm -rf /var/lib/apt/lists/*
ENTRYPOINT ["/usr/sbin/watchdog", "-F"]

View File

@ -1,19 +0,0 @@
NAMESPACE=alemairebe
include version
IMAGE=watchdog
nopush:
docker buildx build --platform linux/amd64 --load \
--build-arg VERSION=$(VERSION) \
--tag ${NAMESPACE}/${IMAGE}:$(VERSION) \
--tag ${CI_REGISTRY_IMAGE}/${IMAGE}:$(VERSION) .
push:
docker buildx build --platform linux/amd64,linux/arm64,linux/arm,linux/ppc64le --push \
--build-arg VERSION=$(VERSION) \
--cache-from=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \
--cache-to=type=registry,ref=${NAMESPACE}/buildx:${IMAGE} \
--tag ${NAMESPACE}/${IMAGE}:$(VERSION) \
--tag ${CI_REGISTRY_IMAGE}/${IMAGE}:$(VERSION) .

View File

@ -1 +0,0 @@
VERSION=5.15-2