committed by
andrey-zelenkov
parent
756feafd54
commit
ea239635be
@@ -11,11 +11,11 @@ LABEL org.opencontainers.image.version="1.31.1"
|
|||||||
RUN set -ex \
|
RUN set -ex \
|
||||||
&& savedAptMark="$(apt-mark showmanual)" \
|
&& savedAptMark="$(apt-mark showmanual)" \
|
||||||
&& apt-get update \
|
&& apt-get update \
|
||||||
&& apt-get install --no-install-recommends --no-install-suggests -y ca-certificates mercurial build-essential libssl-dev libpcre2-dev curl pkg-config \
|
&& apt-get install --no-install-recommends --no-install-suggests -y ca-certificates git build-essential libssl-dev libpcre2-dev curl pkg-config \
|
||||||
&& mkdir -p /usr/lib/unit/modules /usr/lib/unit/debug-modules \
|
&& mkdir -p /usr/lib/unit/modules /usr/lib/unit/debug-modules \
|
||||||
&& mkdir -p /usr/src/unit \
|
&& mkdir -p /usr/src/unit \
|
||||||
&& cd /usr/src/unit \
|
&& cd /usr/src/unit \
|
||||||
&& hg clone -u 1.31.1-1 https://hg.nginx.org/unit \
|
&& git clone -b 1.31.1-1 https://github.com/nginx/unit \
|
||||||
&& cd unit \
|
&& cd unit \
|
||||||
&& NCPU="$(getconf _NPROCESSORS_ONLN)" \
|
&& NCPU="$(getconf _NPROCESSORS_ONLN)" \
|
||||||
&& DEB_HOST_MULTIARCH="$(dpkg-architecture -q DEB_HOST_MULTIARCH)" \
|
&& DEB_HOST_MULTIARCH="$(dpkg-architecture -q DEB_HOST_MULTIARCH)" \
|
||||||
|
|||||||
Reference in New Issue
Block a user