Skip to content

Commit ccffb4f

Browse files
committed
fix(router): use docker capability to decompress files.
1 parent b38763a commit ccffb4f

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

router/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM ubuntu:14.04
33
ENV DEBIAN_FRONTEND noninteractive
44

55
# install common packages
6-
RUN apt-get update && apt-get install -y libgeoip1 curl net-tools && apt-get clean
6+
RUN apt-get update && apt-get install -y libgeoip1 curl && apt-get clean
77

88
# install etcdctl
99
RUN curl -sSL -o /usr/local/bin/etcdctl https://s3-us-west-2.amazonaws.com/opdemand/etcdctl-v0.4.6 \
@@ -21,4 +21,6 @@ CMD ["/app/bin/boot"]
2121

2222
ADD . /app
2323

24-
RUN mkdir /nginx && tar zxpvf /app/nginx.tgz -C /nginx && rm /app/nginx.tgz
24+
ADD nginx.tgz /nginx
25+
26+
RUN rm nginx.tgz

0 commit comments

Comments
 (0)