chore: initial version
This commit is contained in:
29
Dockerfile.drogon
Normal file
29
Dockerfile.drogon
Normal 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
|
||||
Reference in New Issue
Block a user