Compare commits

...

12 Commits

8 changed files with 90 additions and 6 deletions

View File

@ -6,6 +6,18 @@ variables:
DOCKER_CLI_EXPERIMENTAL: enabled DOCKER_CLI_EXPERIMENTAL: enabled
DOCKER_BUILDKIT: 1 DOCKER_BUILDKIT: 1
dovecot:
stage: build
tags:
- docker
script:
- cd dovecot
- make push
only:
variables:
- $CI_COMMIT_REF_PROTECTED == "true"
changes:
- dovecot/*
element: element:
stage: build stage: build

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}

View File

@ -1,6 +1,6 @@
NAMESPACE=alemairebe NAMESPACE=alemairebe
IMAGE=element IMAGE=element
VERSION=v1.7.26 VERSION=v1.7.28
push: get decompress build push: get decompress build

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"]

View File

@ -1,5 +1,5 @@
NAMESPACE=alemairebe NAMESPACE=alemairebe
VERSION=0.0.1 VERSION=0.0.3
IMAGE=matrix-webhook IMAGE=matrix-webhook
@ -16,4 +16,5 @@ build:
--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} \
--tag ${NAMESPACE}/${IMAGE}:$(VERSION) \ --tag ${NAMESPACE}/${IMAGE}:$(VERSION) \
--tag ${CI_REGISTRY_IMAGE}/${IMAGE}:$(VERSION) matrix-appservice-webhooks-master --tag ${CI_REGISTRY_IMAGE}/${IMAGE}:$(VERSION) \
-f Dockerfile matrix-appservice-webhooks-master

View File

@ -1,5 +1,5 @@
NAMESPACE=alemairebe NAMESPACE=alemairebe
VERSION=1.32.2 VERSION=1.36.0
IMAGE=synapse IMAGE=synapse
push: get decompress build push: get decompress build

View File

@ -1,2 +1,2 @@
VERSION=6.2.23 VERSION=6.2.26
UNIFI_VERSION=6.2.23-d3a253013f UNIFI_VERSION=6.2.26-a79cb15f05