From 8c26066026a7fbbae9553f2b60bfaf27769486aa Mon Sep 17 00:00:00 2001 From: Torma Kristof Date: Sat, 19 Sep 2020 22:10:45 +0200 Subject: [PATCH] use absolute builddir --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 513ba7e..a9e3d77 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,7 @@ RUN mkdir -p /tmp/build/ && \ RUN cd /tmp/build/ && \ git clone https://github.com/sergey-dryabzhinsky/nginx-rtmp-module.git -RUN cd /tmp/build/ && \ +RUN cd /tmp/build/${NGINX_VERSION} && \ ./configure \ --sbin-path=/usr/local/sbin/nginx \ --conf-path=/etc/nginx/nginx.conf \ @@ -36,7 +36,7 @@ RUN cd /tmp/build/ && \ --with-compat \ --add-module=../nginx-rtmp-module \ --with-debug\ - -builddir=${NGINX_VERSION} \ + -builddir=/tmp/build/${NGINX_VERSION} \ make -j $(getconf _NPROCESSORS_ONLN) && \ make install && \ mkdir /var/lock/nginx && \