Skip to content

Commit

Permalink
Update "Dockerfile" to use "go" directly since "docker:1.10-git" is n…
Browse files Browse the repository at this point in the history
…ow based on Alpine 3.4 (which has Go 1.6.3)
  • Loading branch information
tianon committed Aug 8, 2016
1 parent 2c9584c commit caa77d4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Dockerfile
@@ -1,13 +1,10 @@
FROM docker:1.10-git

# add "edge" since Alpine 3.3 only has Go 1.5 and we need 1.6+
RUN sed -ri -e 'p; s!^!@edge !; s!v[0-9.]+!edge!' /etc/apk/repositories

RUN apk add --no-cache \
# bash for running scripts
bash \
# go for compiling bashbrew
go@edge
go

ENV GOPATH /go
ENV PATH $GOPATH/bin:$PATH
Expand Down

0 comments on commit caa77d4

Please sign in to comment.