This commit is contained in:
2018-12-13 20:25:51 +01:00
parent bc74cdd9f0
commit 87e8cedb8c
3 changed files with 37 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
FROM ubuntu:16.04
FROM ubuntu
RUN apt-get update -yy && \
apt-get install -yy git make curl pkg-config
apt-get install -yy git make curl pkg-config file
RUN curl -s https://storage.googleapis.com/golang/go1.11.2.linux-amd64.tar.gz | tar -C /usr/local -xzf -
ENV GOPATH=/go
@@ -58,6 +58,7 @@ RUN curl -sL ftp://xmlsoft.org/libxml2/libxml2-2.9.8.tar.gz | tar -xzf - && \
RUN curl -sL ftp://ftp.openssl.org/source/openssl-1.0.2q.tar.gz | tar -xzf - && \
cd openssl-1.0.2q && \
./config \
--prefix=$PWD/.. \
no-shared \
no-weak-ssl-ciphers \
no-ssl2 \
@@ -73,6 +74,7 @@ RUN curl -sL ftp://ftp.openssl.org/source/openssl-1.0.2q.tar.gz | tar -xzf - &&
RUN curl -sL http://www.aleksey.com/xmlsec/download/xmlsec1-1.2.27.tar.gz | tar -xzf - && \
cd xmlsec1-1.2.27 && \
./configure \
--prefix=$PWD/.. \
--enable-static \
--disable-shared \
--disable-crypto-dl \
@@ -80,8 +82,8 @@ RUN curl -sL http://www.aleksey.com/xmlsec/download/xmlsec1-1.2.27.tar.gz | tar
--enable-static-linking \
--without-gnu-ld \
--with-default-crypto=openssl \
--with-openssl=/usr/local/ssl \
--with-libxml=/usr/local \
--with-openssl=$PWD/../ssl \
--with-libxml=$PWD/.. \
--without-nss \
--without-nspr \
--without-gcrypt \