successfully builds

This commit is contained in:
ICScaryThings 2022-05-20 23:39:19 -04:00
parent f5c0294963
commit c27c4d6456

View file

@ -1,10 +1,9 @@
FROM nginx
#COPY index.html /usr/share/nginx/html
FROM debian:testing
# FROM nginx # cant use this because it uses debian stable with ancient packeges
RUN apt update && apt upgrade
RUN apt install build-essential libcurl4-gnutls-dev libcjson-dev libpcre3-dev libfcgi-dev git
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
RUN git clone https://git.nekobit.net/repos/treebird.git $TB_BUILD_DIR && make -C $TB_BUILD_DIR all install
COPY treebird $TB_BUILD_DIR
RUN make -C $TB_BUILD_DIR && make -C $TB_BUILD_DIR install