Skip to content

Commit

Permalink
set docker for 0.3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Li ZHOU committed Apr 11, 2017
1 parent 973b4f4 commit a05f303
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 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.4.tar.gz
ARG MYSOCKS_URL=https://github.com/zhou0/mysocks/archive/0.3.5.tar.gz
ARG LIBUV_URL=https://github.com/libuv/libuv/archive/v1.11.0.tar.gz

RUN set -ex && \
Expand All @@ -22,7 +22,16 @@ RUN set -ex && \
tar \
&& \
curl -sSL $LIBUV_URL | tar xz && cd libuv-1.11.0 && ./autogen.sh && ./configure --prefix=/usr --disable-static && make && make install && cd .. && \
curl -sSL $MYSOCKS_URL | tar xz && cd mysocks-0.3.4 && mkdir -p build/release && cd build/release && \
curl -sSL $WOLFSSL_URL | tar xz && cd wolfssl-3.2.0 && ./autogen.sh
&& ./configure --prefix=/usr --disable-static --enable-ipv6
--enable-aesgcm --enable-aesccm --enable-psk --disable-coding
--enable-hkdf --enable-poly1305 --enable-camellia --disable-des3
--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.5 && mkdir -p
build/release && cd build/release && \
cmake -DCMAKE_BUILD_TYPE=Release ../.. && \
make && make install && \

Expand All @@ -35,4 +44,4 @@ RUN set -ex && \
cd ../../.. && \
apk add --no-cache --virtual .run-deps $runDeps && \
apk del .build-deps && \
rm -fr libuv-1.11.0 && rm -fr mysocks-0.3.4
rm -fr libuv-1.11.0 && rm -fr mysocks-0.3.5

0 comments on commit a05f303

Please sign in to comment.