use absolute builddir
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Torma Kristóf 2020-09-19 22:10:45 +02:00
parent 5369490640
commit 8c26066026

View File

@ -15,7 +15,7 @@ RUN mkdir -p /tmp/build/ && \
RUN cd /tmp/build/ && \ RUN cd /tmp/build/ && \
git clone https://github.com/sergey-dryabzhinsky/nginx-rtmp-module.git git clone https://github.com/sergey-dryabzhinsky/nginx-rtmp-module.git
RUN cd /tmp/build/ && \ RUN cd /tmp/build/${NGINX_VERSION} && \
./configure \ ./configure \
--sbin-path=/usr/local/sbin/nginx \ --sbin-path=/usr/local/sbin/nginx \
--conf-path=/etc/nginx/nginx.conf \ --conf-path=/etc/nginx/nginx.conf \
@ -36,7 +36,7 @@ RUN cd /tmp/build/ && \
--with-compat \ --with-compat \
--add-module=../nginx-rtmp-module \ --add-module=../nginx-rtmp-module \
--with-debug\ --with-debug\
-builddir=${NGINX_VERSION} \ -builddir=/tmp/build/${NGINX_VERSION} \
make -j $(getconf _NPROCESSORS_ONLN) && \ make -j $(getconf _NPROCESSORS_ONLN) && \
make install && \ make install && \
mkdir /var/lock/nginx && \ mkdir /var/lock/nginx && \