Skip to content

Commit 2418739

Browse files
committed
Merge pull request #11 from aledbf/add-goupx
feat(Dockerfile): add goupx
2 parents 819504d + 1a0197d commit 2418739

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

rootfs/Dockerfile

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,20 @@ ENV GLIDE_HOME=/root
55

66
WORKDIR /tmp
77

8+
RUN apt-get update && apt-get install -y \
9+
upx \
10+
--no-install-recommends \
11+
&& rm -rf /var/lib/apt/lists/*
12+
813
RUN wget https://github.com/Masterminds/glide/releases/download/0.8.3/glide-0.8.3-linux-amd64.tar.gz && \
914
tar xvfz glide-0.8.3-linux-amd64.tar.gz && \
1015
mv linux-amd64/glide /usr/local/bin/ && \
1116
rm -rf linux-amd64 glide-0.8.3-linux-amd64.tar.gz
1217

13-
RUN go get -u -v github.com/golang/lint/golint github.com/onsi/ginkgo/ginkgo
18+
RUN go get -u -v \
19+
github.com/golang/lint/golint \
20+
github.com/onsi/ginkgo/ginkgo \
21+
github.com/pwaller/goupx
1422

1523
WORKDIR /go
1624

0 commit comments

Comments
 (0)