Compare commits

...

37 Commits

Author SHA1 Message Date
ace
9c1b07e0a9 rspamd: bump to v3.12.1 2025-06-28 16:26:15 +03:00
ace
e942e937fa rspamd: bump to v3.12.1 2025-06-28 16:05:23 +03:00
ace
57332a566a kanidm: use almalinux:10 as base and bump custom image to v1.6.4 2025-06-12 23:35:05 +03:00
ace
00a89ef592 i2pd: use almalinux:10 as base and bump image to v2.57.0 2025-06-12 23:34:58 +03:00
ace
c7975b76e5 kanidm: bump custom image to v1.6.3 2025-05-23 13:06:45 +03:00
ace
bf1db33bf9 i2pd: add initial image 2025-05-13 00:13:23 +03:00
ace
f7b3aa3099 kanidm: add custom image with kubectl for kubernetes install with helm chart 2025-05-13 00:13:06 +03:00
ace
41ca98f36f postfix: fix formatting 2025-05-13 00:12:54 +03:00
ace
f57fd4c5c2 add autovault container 2025-04-10 00:22:38 +03:00
ace
c699f5919e rspamd: bump to v3.11.1 2025-03-09 17:02:43 +03:00
ace
a3991e1273 rspamd: bump to v3.11.0 2025-02-15 22:28:32 +03:00
ace
b7ea7f9c01 dovecot: v2.3.16, build 5 2025-02-15 22:28:28 +03:00
ace
8b7a469fc4 postfix: bump to v3.5.25 2025-02-15 22:28:21 +03:00
ace
deef046350 rspamd: bump to v3.10.2 2024-11-03 17:07:51 +03:00
ace
6b379e5851 jams: update to v3.8 2024-08-27 20:09:21 +03:00
ace
ff2bcca1aa rspamd: bump to v3.9.1 2024-08-24 03:31:02 +03:00
ace
6b4434d614 dovecot: v2.3.16, build 4 2024-08-24 03:30:52 +03:00
ace
cca23eea99 postfix: v3.5.9, build 3 2024-08-24 03:30:49 +03:00
ace
13d47605c2 rspamd: bump to v3.8.4 2024-03-02 17:05:52 +03:00
ace
4a7b879b32 rspamd: bump to v3.8.4 2024-03-02 17:04:43 +03:00
ace
eeff161cc5 rspamd: bump to v3.8.3 2024-02-23 18:10:00 +03:00
ace
dc2456e619 postfix: improve building scenario 2024-01-26 02:07:58 +03:00
ace
fa8693bf94 dovecot: improve building scenario 2024-01-26 02:07:49 +03:00
ace
5e1f07ed98 rspamd: improve building scenario 2024-01-26 02:07:41 +03:00
ace
93dc6fa250 rspamd: bump to v3.7.5 2023-12-16 23:30:38 +03:00
ace
69b582c768 jams: v3.7 build 1 2023-12-09 02:05:57 +03:00
ace
3b221cfc6e rspamd: bump to v3.7.4 2023-11-18 22:08:25 +03:00
ace
ceb3f91cb4 rspamd: bump to v3.7.3 2023-10-30 10:41:32 +03:00
ace
f65de608ad rspamd: v3.7.1 build 1 2023-10-08 02:11:12 +03:00
ace
896e2acdaa rspamd: v3.6 build 1 2023-08-11 10:46:07 +03:00
ace
1fe3d9ede5 faas-cli: v0.16.7 2023-08-01 18:44:09 +03:00
ace
e52afdc4c0 dovecot: v2.3.16 build 2, move to AlmaLinux 9 2023-08-01 18:43:13 +03:00
ace
e31746ab68 opendkim: v2.11.0 build 2, move to AlmaLinux 9 2023-08-01 18:43:07 +03:00
ace
374034160a opendmarc: v1.4.2 build 2, move to AlmaLinux 9 2023-08-01 18:43:03 +03:00
ace
0df389c38b postfix: v3.5.9 build 1, move to AlmaLinux 9 2023-08-01 18:43:01 +03:00
ace
f3b5a9ac3d rspamd: v3.5 build 2, move to AlmaLinux 9 2023-08-01 18:42:57 +03:00
ace
a7a5c5e5f0 jams: v3.5 build 1 2023-08-01 18:42:53 +03:00
30 changed files with 264 additions and 52 deletions

8
autovault/Dockerfile Normal file
View File

@@ -0,0 +1,8 @@
FROM almalinux:9
COPY *.repo /etc/yum.repos.d/
RUN dnf install -y kubectl vault jq && dnf clean all
RUN setcap -r /usr/bin/vault
ENTRYPOINT ["/vault/scripts/autovault.sh"]

22
autovault/Makefile Normal file
View File

@@ -0,0 +1,22 @@
VERSION=0.1.0
BUILD=1
IMAGE=autovault
REGISTRY=gitea.geekhome.org/ghp
.PHONY: build push all
ifeq ($(shell command -v podman 2> /dev/null),)
CMD=docker
FORMAT=
else
CMD=podman
FORMAT=--format docker
endif
build:
$(CMD) build $(NO_CACHE) $(FORMAT) -t $(REGISTRY)/$(IMAGE):$(VERSION)-$(BUILD) .
push:
$(CMD) push $(REGISTRY)/$(IMAGE):$(VERSION)-$(BUILD)
all: build push

13
autovault/hashicorp.repo Normal file
View File

@@ -0,0 +1,13 @@
[hashicorp]
name=Hashicorp Stable - $basearch
baseurl=https://rpm.releases.hashicorp.com/RHEL/$releasever/$basearch/stable
enabled=1
gpgcheck=1
gpgkey=https://rpm.releases.hashicorp.com/gpg
[hashicorp-test]
name=Hashicorp Test - $basearch
baseurl=https://rpm.releases.hashicorp.com/RHEL/$releasever/$basearch/test
enabled=0
gpgcheck=1
gpgkey=https://rpm.releases.hashicorp.com/gpg

View File

@@ -0,0 +1,6 @@
[kubernetes]
name=Kubernetes
baseurl=https://pkgs.k8s.io/core:/stable:/v1.32/rpm/
enabled=1
gpgcheck=1
gpgkey=https://pkgs.k8s.io/core:/stable:/v1.32/rpm/repodata/repomd.xml.key

View File

@@ -1,13 +1,19 @@
FROM almalinux:8
FROM almalinux:9
ARG DOVECOT_VERSION
ARG POSTFIX_VERSION
RUN useradd -m -s /bin/false vmail
RUN dnf install -y epel-release && dnf update -y \
RUN dnf install -y epel-release dnf-plugins-core \
&& dnf update -y \
&& dnf config-manager --enable crb \
&& dnf clean all \
&& rm -rf /var/cache/yum
RUN dnf install -y postfix-3.5.8 postfix-ldap-3.5.8 postfix-mysql-3.5.8 postfix-pgsql-3.5.8 \
dovecot-2.3.16 dovecot-pigeonhole-2.3.16 opendkim-2.11.0 opendmarc-1.4.2 \
RUN dnf install -y postfix-${POSTFIX_VERSION} postfix-ldap-${POSTFIX_VERSION} \
postfix-mysql-${POSTFIX_VERSION} postfix-pgsql-${POSTFIX_VERSION} \
dovecot-${DOVECOT_VERSION} dovecot-pigeonhole-${DOVECOT_VERSION} \
cyrus-sasl cyrus-sasl-plain cyrus-sasl-md5 pypolicyd-spf \
&& dnf clean all \
&& rm -rf /var/cache/yum

View File

@@ -1,13 +1,19 @@
VERSION=2.3.16-1
VERSION=2.3.16
BUILD=5
IMAGE=dovecot
REGISTRY=gitea.geekhome.org/ghp
DOVECOT_VERSION=$(VERSION)
POSTFIX_VERSION=3.5.25
.PHONY: build push all
build:
docker build -t $(REGISTRY)/$(IMAGE):$(VERSION) .
docker build --build-arg DOVECOT_VERSION=$(DOVECOT_VERSION) \
--build-arg POSTFIX_VERSION=$(POSTFIX_VERSION) \
-t $(REGISTRY)/$(IMAGE):$(VERSION)-$(BUILD) .
push:
docker push $(REGISTRY)/$(IMAGE):$(VERSION)
docker push $(REGISTRY)/$(IMAGE):$(VERSION)-$(BUILD)
all: build push

View File

@@ -1,4 +1,5 @@
FROM docker:20.10.10-dind
FROM docker:23.0.4-dind
ARG VERSION
RUN wget https://github.com/openfaas/faas-cli/releases/download/0.13.13/faas-cli -O /usr/local/bin/faas-cli
RUN wget https://github.com/openfaas/faas-cli/releases/download/${VERSION}/faas-cli -O /usr/local/bin/faas-cli
RUN chmod +x /usr/local/bin/faas-cli

View File

@@ -1,11 +1,11 @@
VERSION=0.13.13
VERSION=0.16.7
IMAGE=faas-cli
REGISTRY=gitea.geekhome.org/ghp
.PHONY: build push all
build:
docker build -t $(REGISTRY)/$(IMAGE):$(VERSION) .
docker build --build-arg="VERSION=$(VERSION)" -t $(REGISTRY)/$(IMAGE):$(VERSION) .
push:
docker push $(REGISTRY)/$(IMAGE):$(VERSION)

12
i2pd/Dockerfile Normal file
View File

@@ -0,0 +1,12 @@
FROM almalinux:10
ARG I2PD_VERSION
ARG I2PD_BUILD
RUN dnf install -y epel-release dnf-plugins-core \
&& dnf update -y \
&& dnf config-manager --enable crb \
&& dnf clean all \
&& rm -rf /var/cache/yum
RUN dnf install -y https://github.com/PurpleI2P/i2pd/releases/download/${I2PD_VERSION}/i2pd-${I2PD_VERSION}-${I2PD_BUILD}.el10.x86_64.rpm

17
i2pd/Makefile Normal file
View File

@@ -0,0 +1,17 @@
VERSION=2.57.0
BUILD=1
IMAGE=i2pd
REGISTRY=gitea.geekhome.org/ghp
.PHONY: build push all
build:
docker build $(NO_CACHE) \
--build-arg I2PD_VERSION=$(VERSION) \
--build-arg I2PD_BUILD=$(BUILD) \
-t $(REGISTRY)/$(IMAGE):$(VERSION)-$(BUILD) .
push:
docker push $(REGISTRY)/$(IMAGE):$(VERSION)-$(BUILD)
all: build push

View File

@@ -1,4 +1,4 @@
FROM openjdk:11.0.13-bullseye
FROM openjdk:22-slim-bookworm
COPY jams jams
WORKDIR jams

View File

@@ -1,4 +1,4 @@
VERSION=3.3-1
VERSION=3.8-1
IMAGE=jams
ifdef REGISTRY

View File

@@ -1 +1,6 @@
Download tar from https://dl.jami.net/jams/jams.tar
[Running a DHT node](https://github.com/savoirfairelinux/opendht/wiki/Running-a-node-with-dhtnode)
[Setting up your own TURN server](https://docs.jami.net/en_US/developer/going-further/setting-up-your-own-turn-server.html)
[STUN/TURN server](https://github.com/coturn/coturn)

BIN
jams/jams/jams-launcher.jar (Stored with Git LFS)

Binary file not shown.

BIN
jams/jams/jams-server.jar (Stored with Git LFS)

Binary file not shown.

BIN
jams/jams/libs/ad-connector.jar (Stored with Git LFS)

Binary file not shown.

BIN
jams/jams/libs/authentication-module.jar (Stored with Git LFS)

Binary file not shown.

BIN
jams/jams/libs/cryptoengine.jar (Stored with Git LFS)

Binary file not shown.

BIN
jams/jams/libs/ldap-connector.jar (Stored with Git LFS)

Binary file not shown.

63
kanidm/Dockerfile Normal file
View File

@@ -0,0 +1,63 @@
FROM almalinux:10 AS builder
ARG KANIDM_VERSION
ARG KANIDM_FEATURES
ARG KANIDM_BUILD_PROFILE="container_generic"
ARG KANIDM_BUILD_OPTIONS=""
# Set the build profile
ENV KANIDM_BUILD_PROFILE=${KANIDM_BUILD_PROFILE:-container_generic}
ENV RUSTFLAGS="-Clinker=clang -Clink-arg=-fuse-ld=/usr/bin/ld.mold"
RUN dnf install -y epel-release dnf-plugins-core \
&& dnf update -y \
&& dnf config-manager --enable crb \
&& dnf clean all \
&& rm -rf /var/cache/yum
RUN dnf install -y clang mold pam-devel openssl-devel git make automake gawk systemd-libs systemd-devel systemd-udev \
&& dnf clean all \
&& rm -rf /var/cache/yum
# Get Rust
ENV RUSTUP_HOME=/root/.rustup
ENV CARGO_HOME=/root/.cargo
ENV PATH=/root/.cargo/bin:${PATH}
RUN curl -s --proto '=https' --tlsv1.3 -sSf 'https://sh.rustup.rs' | sh -s -- -y --no-modify-path || true
RUN git clone --branch $KANIDM_VERSION --depth 1 https://github.com/kanidm/kanidm.git /usr/src/kanidm
WORKDIR /usr/src/kanidm
# Exports don't persist through RUN statements.
RUN make release/kanidmd
RUN make release/kanidm
FROM almalinux:10
COPY *.repo /etc/yum.repos.d/
RUN dnf install -y openssl sqlite pam kubectl \
&& dnf clean all \
&& rm -rf /var/cache/yum
COPY --from=builder /usr/src/kanidm/target/release/kanidmd /sbin/
COPY --from=builder /usr/src/kanidm/target/release/kanidm /sbin/
COPY --from=builder /usr/src/kanidm/server/core/static /hpkg
RUN chmod +x /sbin/kanidmd
WORKDIR /data
EXPOSE 8443 3636
ENV RUST_BACKTRACE=1
HEALTHCHECK \
--interval=60s \
--timeout=10s \
--start-period=60s \
--start-interval=5s \
--retries=3 \
CMD [ "/sbin/kanidmd", "healthcheck", "-c", "/data/server.toml"]
CMD [ "/sbin/kanidmd", "server", "-c", "/data/server.toml"]

16
kanidm/Makefile Normal file
View File

@@ -0,0 +1,16 @@
VERSION=1.6.4
BUILD=1
IMAGE=kanidm
REGISTRY=gitea.geekhome.org/ghp
.PHONY: build push all
build:
docker build $(NO_CACHE) \
--build-arg KANIDM_VERSION=v$(VERSION) \
-t $(REGISTRY)/$(IMAGE):$(VERSION)-$(BUILD) .
push:
docker push $(REGISTRY)/$(IMAGE):$(VERSION)-$(BUILD)
all: build push

6
kanidm/kubernetes.repo Normal file
View File

@@ -0,0 +1,6 @@
[kubernetes]
name=Kubernetes
baseurl=https://pkgs.k8s.io/core:/stable:/v1.32/rpm/
enabled=1
gpgcheck=1
gpgkey=https://pkgs.k8s.io/core:/stable:/v1.32/rpm/repodata/repomd.xml.key

View File

@@ -1,12 +1,14 @@
FROM almalinux:8
FROM almalinux:9
RUN useradd -m -s /bin/false vmail
RUN dnf install -y epel-release && dnf update -y \
RUN dnf install -y epel-release dnf-plugins-core \
&& dnf update -y \
&& dnf config-manager --enable crb \
&& dnf clean all \
&& rm -rf /var/cache/yum
RUN dnf install -y postfix-3.5.8 postfix-ldap-3.5.8 postfix-mysql-3.5.8 postfix-pgsql-3.5.8 \
RUN dnf install -y postfix-3.5.9 postfix-ldap-3.5.9 postfix-mysql-3.5.9 postfix-pgsql-3.5.9 \
dovecot-2.3.16 dovecot-pigeonhole-2.3.16 opendkim-2.11.0 opendmarc-1.4.2 \
cyrus-sasl cyrus-sasl-plain cyrus-sasl-md5 pypolicyd-spf \
&& dnf clean all \

View File

@@ -1,4 +1,4 @@
VERSION=2.11.0-1
VERSION=2.11.0-2
IMAGE=opendkim
REGISTRY=gitea.geekhome.org/ghp

View File

@@ -1,12 +1,14 @@
FROM almalinux:8
FROM almalinux:9
RUN useradd -m -s /bin/false vmail
RUN dnf install -y epel-release && dnf update -y \
RUN dnf install -y epel-release dnf-plugins-core \
&& dnf update -y \
&& dnf config-manager --enable crb \
&& dnf clean all \
&& rm -rf /var/cache/yum
RUN dnf install -y postfix-3.5.8 postfix-ldap-3.5.8 postfix-mysql-3.5.8 postfix-pgsql-3.5.8 \
RUN dnf install -y postfix-3.5.9 postfix-ldap-3.5.9 postfix-mysql-3.5.9 postfix-pgsql-3.5.9 \
dovecot-2.3.16 dovecot-pigeonhole-2.3.16 opendkim-2.11.0 opendmarc-1.4.2 \
cyrus-sasl cyrus-sasl-plain cyrus-sasl-md5 pypolicyd-spf \
&& dnf clean all \

View File

@@ -1,4 +1,4 @@
VERSION=1.4.2-1
VERSION=1.4.2-2
IMAGE=opendmarc
REGISTRY=gitea.geekhome.org/ghp

View File

@@ -1,19 +1,23 @@
FROM almalinux:8
FROM almalinux:9
ARG DOVECOT_VERSION
ARG POSTFIX_VERSION
RUN useradd -m -s /bin/false vmail
RUN dnf install -y epel-release && dnf update -y \
RUN dnf install -y epel-release dnf-plugins-core \
&& dnf update -y \
&& dnf config-manager --enable crb \
&& dnf clean all \
&& rm -rf /var/cache/yum
RUN dnf install -y postfix-3.5.8 postfix-ldap-3.5.8 postfix-mysql-3.5.8 postfix-pgsql-3.5.8 \
dovecot-2.3.16 dovecot-pigeonhole-2.3.16 opendkim-2.11.0 opendmarc-1.4.2 \
RUN dnf install -y postfix-${POSTFIX_VERSION} postfix-ldap-${POSTFIX_VERSION} \
postfix-mysql-${POSTFIX_VERSION} postfix-pgsql-${POSTFIX_VERSION} \
dovecot-${DOVECOT_VERSION} dovecot-pigeonhole-${DOVECOT_VERSION} \
cyrus-sasl cyrus-sasl-plain cyrus-sasl-md5 pypolicyd-spf \
&& dnf clean all \
&& rm -rf /var/cache/yum
#RUN postconf -e inet_interfaces=all
EXPOSE 25 465 587
CMD ["postfix", "start-fg"]

View File

@@ -1,13 +1,19 @@
VERSION=3.5.8-1
VERSION=3.5.25
BUILD=1
IMAGE=postfix
REGISTRY=gitea.geekhome.org/ghp
DOVECOT_VERSION=2.3.16
POSTFIX_VERSION=$(VERSION)
.PHONY: build push all
build:
docker build -t $(REGISTRY)/$(IMAGE):$(VERSION) .
docker build --build-arg DOVECOT_VERSION=$(DOVECOT_VERSION) \
--build-arg POSTFIX_VERSION=$(POSTFIX_VERSION) \
-t $(REGISTRY)/$(IMAGE):$(VERSION)-$(BUILD) .
push:
docker push $(REGISTRY)/$(IMAGE):$(VERSION)
docker push $(REGISTRY)/$(IMAGE):$(VERSION)-$(BUILD)
all: build push

View File

@@ -1,22 +1,31 @@
FROM almalinux:8
FROM almalinux:9
ARG DOVECOT_VERSION
ARG POSTFIX_VERSION
ARG RSPAMD_VERSION
RUN useradd -m -s /bin/false vmail
RUN dnf install -y epel-release && dnf update -y \
RUN dnf install -y epel-release dnf-plugins-core \
&& dnf update -y \
&& dnf config-manager --enable crb \
&& dnf clean all \
&& rm -rf /var/cache/yum
RUN dnf install -y postfix-3.5.8 postfix-ldap-3.5.8 postfix-mysql-3.5.8 postfix-pgsql-3.5.8 \
dovecot-2.3.16 dovecot-pigeonhole-2.3.16 opendkim opendmarc \
RUN dnf install -y postfix-${POSTFIX_VERSION} postfix-ldap-${POSTFIX_VERSION} \
postfix-mysql-${POSTFIX_VERSION} postfix-pgsql-${POSTFIX_VERSION} \
dovecot-${DOVECOT_VERSION} dovecot-pigeonhole-${DOVECOT_VERSION} \
cyrus-sasl cyrus-sasl-plain cyrus-sasl-md5 pypolicyd-spf \
&& dnf clean all \
&& rm -rf /var/cache/yum
RUN curl https://rspamd.com/rpm-stable/centos-8/rspamd.repo > /etc/yum.repos.d/rspamd.repo \
RUN update-crypto-policies --set DEFAULT:SHA1 \
&& curl https://rspamd.com/rpm-stable/centos-9/rspamd.repo > /etc/yum.repos.d/rspamd.repo \
&& rpm --import https://rspamd.com/rpm/gpg.key \
&& dnf install -y rspamd-3.5 \
&& dnf install -y rspamd-${RSPAMD_VERSION} \
&& dnf clean all \
&& rm -rf /var/cache/yum
&& rm -rf /var/cache/yum \
&& update-crypto-policies --set DEFAULT
EXPOSE 11332

View File

@@ -1,13 +1,21 @@
VERSION=3.5-1
VERSION=3.11.1
BUILD=1
IMAGE=rspamd
REGISTRY=gitea.geekhome.org/ghp
DOVECOT_VERSION=2.3.16
POSTFIX_VERSION=3.5.25
RSPAMD_VERSION=$(VERSION)
.PHONY: build push all
build:
docker build -t $(REGISTRY)/$(IMAGE):$(VERSION) .
docker build --build-arg DOVECOT_VERSION=$(DOVECOT_VERSION) \
--build-arg POSTFIX_VERSION=$(POSTFIX_VERSION) \
--build-arg RSPAMD_VERSION=$(RSPAMD_VERSION) \
-t $(REGISTRY)/$(IMAGE):$(VERSION)-$(BUILD) .
push:
docker push $(REGISTRY)/$(IMAGE):$(VERSION)
docker push $(REGISTRY)/$(IMAGE):$(VERSION)-$(BUILD)
all: build push