Skip to content

Commit

Permalink
fix docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
U-LiZHOU-PC\Li ZHOU committed Apr 9, 2017
1 parent db7ece1 commit fe3aea0
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.2.tar.gz
ARG MYSOCKS_URL=https://github.com/zhou0/mysocks/archive/0.3.3.tar.gz
ARG LIBUV_URL=https://github.com/libuv/libuv/archive/v1.11.0.tar.gz

RUN set -ex && \
Expand All @@ -22,7 +22,7 @@ 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.2 && mkdir -p build/release && cd build/release && \
curl -sSL $MYSOCKS_URL | tar xz && cd mysocks-0.3.3 && mkdir -p build/release && cd build/release && \
cmake -DCMAKE_BUILD_TYPE=Release ../.. && \
make && make install && \

Expand All @@ -35,4 +35,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.2
rm -fr libuv-1.11.0 && rm -fr mysocks-0.3.3

0 comments on commit fe3aea0

Please sign in to comment.