Permalink
Browse files

docker builder updates

  • Loading branch information...
kcq committed Jun 11, 2017
1 parent 0ed4d37 commit 53d9bd3a28eadf4736fd4fd75fc6b742d464d7d1
Showing with 1 addition and 3 deletions.
  1. +1 −1 Dockerfile
  2. +0 −2 Dockerfile-build
View
@@ -1,4 +1,4 @@
FROM golang:1.5.1
FROM golang:1.8.3
RUN go get github.com/mitchellh/gox
View
@@ -2,9 +2,7 @@ FROM golang:latest
RUN mkdir -p /go/src/github.com/docker-slim/docker-slim
ADD . /go/src/github.com/docker-slim/docker-slim
WORKDIR /go/src/github.com/docker-slim/docker-slim/apps/docker-slim
RUN go get
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o docker-slim .
WORKDIR /go/src/github.com/docker-slim/docker-slim/apps/docker-slim-sensor
RUN go get
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o docker-slim-sensor .

0 comments on commit 53d9bd3

Please sign in to comment.