Skip to content

Commit

Permalink
prepare docker for 0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Li ZHOU committed Apr 14, 2017
1 parent 8e4b42b commit eda36bf
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.3.6.tar.gz
ARG MYSOCKS_URL=https://github.com/zhou0/mysocks/archive/0.4.0.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.2.0.tar.gz
RUN set -ex && \
Expand All @@ -31,7 +31,7 @@ make install && cd .. && \
--enable-hc128 --enable-rabbit --enable-chacha --enable-examples \
--enable-iopool --disable-oldtls --disable-asn --disable-rsa \
--enable-fastmath --disable-sha && make && make install && cd .. && \
curl -sSL $MYSOCKS_URL | tar xz && cd mysocks-0.3.6 && mkdir -p \
curl -sSL $MYSOCKS_URL | tar xz && cd mysocks-0.4.0 && mkdir -p \
build/release && cd build/release && \
cmake -DCMAKE_BUILD_TYPE=Release ../.. && \
make && make install && \
Expand All @@ -45,4 +45,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.2.0 && rm -fr mysocks-0.3.6
rm -fr libuv-1.11.0 && rm -fr wolfssl-3.2.0 && rm -fr mysocks-0.4.0

0 comments on commit eda36bf

Please sign in to comment.