|
@ -13,22 +13,21 @@ ENV DNS_ADDR 8.8.8.8 |
|
|
ENV DNS_ADDR_2 8.8.4.4 |
|
|
ENV DNS_ADDR_2 8.8.4.4 |
|
|
ENV ARGS= |
|
|
ENV ARGS= |
|
|
|
|
|
|
|
|
COPY . /tmp |
|
|
|
|
|
|
|
|
COPY . /tmp/repo |
|
|
|
|
|
|
|
|
RUN set -ex && \ |
|
|
RUN set -ex && \ |
|
|
apk add --no-cache --virtual .build-deps \ |
|
|
apk add --no-cache --virtual .build-deps \ |
|
|
git \ |
|
|
|
|
|
autoconf \ |
|
|
autoconf \ |
|
|
automake \ |
|
|
automake \ |
|
|
libtool \ |
|
|
|
|
|
build-base \ |
|
|
build-base \ |
|
|
|
|
|
c-ares-dev \ |
|
|
libev-dev \ |
|
|
libev-dev \ |
|
|
linux-headers \ |
|
|
|
|
|
|
|
|
libtool \ |
|
|
libsodium-dev \ |
|
|
libsodium-dev \ |
|
|
|
|
|
linux-headers \ |
|
|
mbedtls-dev \ |
|
|
mbedtls-dev \ |
|
|
pcre-dev \ |
|
|
|
|
|
c-ares-dev && \ |
|
|
|
|
|
cd /tmp && \ |
|
|
|
|
|
|
|
|
pcre-dev && \ |
|
|
|
|
|
cd /tmp/repo && \ |
|
|
./autogen.sh && \ |
|
|
./autogen.sh && \ |
|
|
./configure --prefix=/usr --disable-documentation && \ |
|
|
./configure --prefix=/usr --disable-documentation && \ |
|
|
make install && \ |
|
|
make install && \ |
|
@ -43,7 +42,7 @@ RUN set -ex && \ |
|
|
rng-tools \ |
|
|
rng-tools \ |
|
|
$runDeps && \ |
|
|
$runDeps && \ |
|
|
apk del .build-deps && \ |
|
|
apk del .build-deps && \ |
|
|
rm -rf /tmp/* |
|
|
|
|
|
|
|
|
rm -rf /tmp/repo |
|
|
|
|
|
|
|
|
USER nobody |
|
|
USER nobody |
|
|
|
|
|
|
|
|