From c27c4d64568c474242ba82bb5185a5c9da645e99 Mon Sep 17 00:00:00 2001 From: ICScaryThings Date: Fri, 20 May 2022 23:39:19 -0400 Subject: [PATCH] successfully builds --- Dockerfile | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index aafce44..0522655 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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