init: yolks for GMod 64-bit and Stalwart Mail Server
Build Stalwart Mail Yolk / build (push) Has been cancelled
Build GMod Yolk / build (push) Has been cancelled

This commit is contained in:
2026-06-16 00:07:02 +03:00
commit 3b1a15dcc6
11 changed files with 1004 additions and 0 deletions
+50
View File
@@ -0,0 +1,50 @@
FROM debian:bookworm-slim
LABEL author="RefoselTeam" maintainer="admin@refoseltw.ru"
LABEL org.opencontainers.image.source="https://gitea.refoseltw.ru/RefoselTeamWork/yolks"
LABEL org.opencontainers.image.licenses=MIT
ENV DEBIAN_FRONTEND=noninteractive
# Install dependencies
RUN apt update \
&& apt upgrade -y \
&& apt install -y \
curl \
gnupg \
ca-certificates \
tini \
tzdata \
unzip \
git \
&& apt clean \
&& rm -rf /var/lib/apt/lists/*
# Install Stalwart Mail Server
RUN curl -sSL https://stalw.art/install.sh | bash
# Create directories
RUN mkdir -p /home/container/stalwart-mail \
&& mkdir -p /home/container/stalwart-mail/data \
&& mkdir -p /home/container/stalwart-mail/certs \
&& mkdir -p /home/container/stalwart-mail/logs
# Setup user
RUN useradd -m -d /home/container -s /bin/bash container \
&& chown -R container:container /home/container
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
EXPOSE 8080 465 587 993 995 4190
STOPSIGNAL SIGINT
COPY --chown=container:container ./entrypoint.sh /entrypoint.sh
COPY --chown=container:container ./config.toml /entrypoint-config.toml
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
CMD ["/entrypoint.sh"]