treebird-docker/Dockerfile

11 lines
327 B
Docker

FROM nginx
#COPY index.html /usr/share/nginx/html
RUN apt update && apt upgrade
RUN apt install build-essential libcurl4-gnutls-dev libcjson-dev libpcre3-dev libfcgi-dev git
ENV TB_BUILD_DIR=/usr/local/src/treebird
RUN git clone https://git.nekobit.net/repos/treebird.git $TB_BUILD_DIR && make -C $TB_BUILD_DIR all install