-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Li ZHOU
committed
Apr 14, 2017
1 parent
8e4b42b
commit eda36bf
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 && \ | ||
|
@@ -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 && \ | ||
|
@@ -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 |