forked from mirrors/treebird-docker
successfully builds
This commit is contained in:
parent
f5c0294963
commit
c27c4d6456
1 changed files with 6 additions and 7 deletions
13
Dockerfile
13
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
|
||||
|
|
Loading…
Reference in a new issue