mirror of
https://git.freecumextremist.com/icscarythings/treebird-docker.git
synced 2024-11-04 21:34:11 +00:00
15 lines
484 B
Docker
15 lines
484 B
Docker
FROM debian:testing
|
|
# FROM nginx # cant use this because it uses debian stable with ancient packeges
|
|
|
|
ENV BUILD_REQ="build-essential libcurl4-gnutls-dev libcjson-dev libpcre3-dev libfcgi-dev git pkgconf"
|
|
ENV RUN_REQ="spawn-fcgi fcgiwrap"
|
|
|
|
RUN apt update && apt upgrade -y
|
|
RUN apt install -y $BUILD_REQ $RUN_REQ
|
|
|
|
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
|
|
|
|
# Fix broken permissions BS
|
|
RUN chmod a+x
|