core-legacy/Dockerfile.drogon

25 lines
692 B
Text
Raw Normal View History

2019-08-17 00:07:01 +00:00
FROM ubuntu:18.04
RUN apt-get update -yqq && \
2019-08-17 09:42:54 +00:00
apt-get install -yqq --no-install-recommends \
software-properties-common sudo curl wget cmake locales git \
2019-08-17 00:07:01 +00:00
openssl libssl-dev libjsoncpp-dev uuid-dev zlib1g-dev postgresql-server-dev-all \
libmariadbclient-dev libsqlite3-dev gcc-8 g++-8 && \
locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
ENV CC=gcc-8
ENV CXX=g++-8
ENV AR=gcc-ar-8
ENV RANLIB=gcc-ranlib-8
ENV IROOT=/install
ENV DROGON_ROOT=$IROOT/drogon
WORKDIR $IROOT
ADD https://api.github.com/repos/an-tao/drogon/git/refs/heads/master version.json
2019-08-17 09:04:15 +00:00
RUN git clone https://github.com/an-tao/drogon && cd drogon && ./build.sh