treebird-docker/Dockerfile

10 lines
369 B
Docker

FROM debian:testing
# FROM nginx # cant use this because it uses debian stable with ancient packeges
RUN apt update && apt upgrade -y
RUN apt install -y build-essential libcurl4-gnutls-dev libcjson-dev libpcre3-dev libfcgi-dev git pkgconf
ENV TB_BUILD_DIR=/usr/local/src/treebird
COPY treebird $TB_BUILD_DIR
RUN make -C $TB_BUILD_DIR && make -C $TB_BUILD_DIR install