chore: initial version

This commit is contained in:
2026-01-13 18:32:35 +01:00
parent 5b2aae8c56
commit 5d911628d2
4 changed files with 107 additions and 0 deletions

29
Dockerfile.drogon Normal file
View File

@@ -0,0 +1,29 @@
FROM archlinux/archlinux:base-devel
ARG DROGON_TAG
RUN ln -sf /usr/share/zoneinfo/UTC /etc/localtime
RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen && locale-gen
ENV LANG=en_US.UTF-8 \
LANGUAGE=en_US:en \
LC_ALL=en_US.UTF-8
RUN pacman-key --init && \
pacman-key --populate archlinux && \
pacman -Sy --noconfirm archlinux-keyring && \
pacman -Syu --noconfirm git curl wget c-ares util-linux-libs \
brotli postgresql-libs hiredis jsoncpp yaml-cpp \
zlib openssl gcc cmake ninja meson onetbb && \
pacman -Scc --noconfirm
ADD https://api.github.com/repos/an-tao/drogon/git/refs/tags/"${DROGON_TAG}" /drogon_version.json
RUN git clone https://github.com/an-tao/drogon /tmp/drogon && \
cd /tmp/drogon && \
git checkout ${DROGON_TAG} && \
git submodule update --init && \
./build.sh && \
cd / && rm -rf /tmp/drogon