Skip to content

Commit 1c8f596

Browse files
feat(Dockerfile): base off deis/base (#52)
1 parent 6c671ae commit 1c8f596

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

rootfs/Dockerfile

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,20 @@
1-
FROM golang:1.7
1+
FROM quay.io/deis/base:0.3.1
22

3-
ENV GLIDE_VERSION=v0.11.1 GLIDE_HOME=/root
3+
ENV GO_VERSION=1.7 \
4+
GLIDE_VERSION=v0.11.1 \
5+
GLIDE_HOME=/root \
6+
PATH=$PATH:/usr/local/go/bin:/go/bin \
7+
GOPATH=/go
48

59
RUN apt-get update && apt-get install -y \
610
jq \
711
man \
812
upx \
913
zip \
14+
git \
1015
--no-install-recommends \
1116
&& rm -rf /var/lib/apt/lists/* \
17+
&& curl -L https://storage.googleapis.com/golang/go$GO_VERSION.linux-amd64.tar.gz | tar -C /usr/local -xz \
1218
&& curl -sSL https://github.com/Masterminds/glide/releases/download/$GLIDE_VERSION/glide-$GLIDE_VERSION-linux-amd64.tar.gz \
1319
| tar -vxz -C /usr/local/bin --strip=1 \
1420
&& curl -L https://s3-us-west-2.amazonaws.com/get-deis/shellcheck-0.4.3-linux-amd64 -o /usr/local/bin/shellcheck \

0 commit comments

Comments
 (0)