From 1dfaaac5d07ed713e96d8ad36aec38b2aaf3b27a Mon Sep 17 00:00:00 2001 From: Bertrand Darbon Date: Sat, 13 Mar 2021 05:27:07 +0100 Subject: [PATCH] Add Arch Dockerfile (#749) --- docker/arch/Dockerfile | 21 +++++++++++++++++++++ Dockerfile => docker/ubuntu/Dockerfile | 0 2 files changed, 21 insertions(+) create mode 100644 docker/arch/Dockerfile rename Dockerfile => docker/ubuntu/Dockerfile (100%) diff --git a/docker/arch/Dockerfile b/docker/arch/Dockerfile new file mode 100644 index 00000000..4478ab08 --- /dev/null +++ b/docker/arch/Dockerfile @@ -0,0 +1,21 @@ +FROM archlinux:base-20210307.0.16708 + +RUN pacman -Syu --noconfirm && pacman -S wget sudo cmake make git gcc jsoncpp postgresql mariadb-clients --noconfirm + +ENV LANG=en_US.UTF-8 \ + LANGUAGE=en_US:en \ + LC_ALL=en_US.UTF-8 \ + CC=gcc \ + CXX=g++ \ + AR=gcc-ar \ + RANLIB=gcc-ranlib \ + IROOT=/install + +ENV DROGON_ROOT="$IROOT/drogon" + +ADD https://api.github.com/repos/an-tao/drogon/git/refs/heads/master $IROOT/version.json +RUN git clone https://github.com/an-tao/drogon $DROGON_ROOT + +WORKDIR $DROGON_ROOT + +RUN ./build.sh diff --git a/Dockerfile b/docker/ubuntu/Dockerfile similarity index 100% rename from Dockerfile rename to docker/ubuntu/Dockerfile