Skip to content

Commit

Permalink
prepare for docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
Li ZHOU committed Apr 14, 2017
1 parent 62f57e2 commit a3353c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
FROM alpine:3.3
MAINTAINER lzh <[email protected]>

ARG MYSOCKS_URL=https://github.com/zhou0/mysocks/archive/0.4.0.tar.gz
ARG MYSOCKS_URL=https://github.com/zhou0/mysocks/archive/0.4.1.tar.gz
ARG LIBUV_URL=https://github.com/libuv/libuv/archive/v1.11.0.tar.gz
ARG WOLFSSL_URL=https://github.com/wolfSSL/wolfssl/archive/v3.6.0.tar.gz
RUN set -ex && \
Expand All @@ -32,7 +32,7 @@ make install && cd .. && \
--enable-iopool --disable-oldtls --disable-asn --disable-rsa \
--enable-fastmath --disable-sha --disable-dh --enable-arc4 \
--disable-hashdrbg --disable-ecc && make && make install && cd .. && \
curl -sSL $MYSOCKS_URL | tar xz && cd mysocks-0.4.0 && mkdir -p \
curl -sSL $MYSOCKS_URL | tar xz && cd mysocks-0.4.1 && mkdir -p \
build/release && cd build/release && \
cmake -DCMAKE_BUILD_TYPE=Release ../.. && \
make && make install && \
Expand All @@ -46,4 +46,4 @@ build/release && cd build/release && \
cd ../../.. && \
apk add --no-cache --virtual .run-deps $runDeps && \
apk del .build-deps && \
rm -fr libuv-1.11.0 && rm -fr wolfssl-3.6.0 && rm -fr mysocks-0.4.0
rm -fr libuv-1.11.0 && rm -fr wolfssl-3.6.0 && rm -fr mysocks-0.4.1

0 comments on commit a3353c4

Please sign in to comment.