Skip to content

Commit 4e984cc

Browse files
committed
tidy up
1 parent f3dfdf3 commit 4e984cc

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

.travis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ services:
66
env:
77
global:
88
- SS_VER=3.3.3
9-
- SS_DEB=shadowsocks-libev_${SS_VER}-1_amd64.deb
109
matrix:
1110
- URL=https://www.facebook.com/
1211
- URL=https://www.google.com/
@@ -15,8 +14,8 @@ env:
1514

1615
before_install:
1716
- docker run --rm --privileged multiarch/qemu-user-static:register --reset
18-
- docker build -t easypi/shadowsocks-libev-arm:$SS_VER -f Dockerfile.arm .
19-
- docker build -t easypi/shadowsocks-libev:$SS_VER .
17+
- docker build -t easypi/shadowsocks-libev-arm:$SS_VER -f Dockerfile.arm --build-arg SS_VER=$SS_VER .
18+
- docker build -t easypi/shadowsocks-libev:$SS_VER --build-arg SS_VER=$SS_VER .
2019
- docker run -d -p 127.0.0.1:8388:8388 -e PASSWORD=helloworld --name server easypi/shadowsocks-libev:$SS_VER
2120
- docker run -d -p 127.0.0.1:1080:1080 --link server:server --name client easypi/shadowsocks-libev:$SS_VER
2221
ss-local -s server -p 8388 -m aes-256-cfb -k helloworld -b 0.0.0.0 -l 1080 -t 60 --fast-open

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
FROM alpine:3.10
66
MAINTAINER EasyPi Software Foundation
77

8-
ENV SS_VER 3.3.3
8+
ARG SS_VER
99
ENV SS_URL https://github.com/shadowsocks/shadowsocks-libev/archive/v$SS_VER.tar.gz
1010
ENV SS_DIR shadowsocks-libev-$SS_VER
1111

Dockerfile.arm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
# Dockerfile for shadowsocks-libev-arm
33
#
44

5-
FROM easypi/alpine-arm:build
5+
FROM multiarch/alpine:armhf-v3.10
66
MAINTAINER EasyPi Software Foundation
77

8-
ENV SS_VER 3.3.3
8+
ARG SS_VER
99
ENV SS_URL https://github.com/shadowsocks/shadowsocks-libev/archive/v$SS_VER.tar.gz
1010
ENV SS_DIR shadowsocks-libev-$SS_VER
1111

0 commit comments

Comments
 (0)