Skip to content

Commit

Permalink
Merge pull request #2929 from ipfs/feature/docker-go-update
Browse files Browse the repository at this point in the history
docker: remove go version constraint
  • Loading branch information
whyrusleeping authored Jul 1, 2016
2 parents f0aa0e2 + 8cdf819 commit c4e8210
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,14 @@ ENV IPFS_PATH /data/ipfs
# The default logging level
ENV IPFS_LOGGING ""
# Golang stuff
ENV GO_VERSION 1.6.2-r2
ENV GOPATH /go
ENV PATH /go/bin:$PATH
ENV SRC_PATH /go/src/github.com/ipfs/go-ipfs

# Get the go-ipfs sourcecode
COPY . $SRC_PATH

RUN apk add --update musl go=$GO_VERSION git bash wget ca-certificates \
RUN apk add --update musl go git bash wget ca-certificates \
# Setup user and fs-repo directory
&& mkdir -p $IPFS_PATH \
&& adduser -D -h $IPFS_PATH -u 1000 ipfs \
Expand Down
3 changes: 1 addition & 2 deletions Dockerfile.fast
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ EXPOSE 8080
ENV GX_IPFS ""
ENV IPFS_PATH /data/ipfs
ENV IPFS_LOGGING ""
ENV GO_VERSION 1.6.2-r2
ENV GOPATH /go
ENV PATH /go/bin:$PATH
ENV SRC_PATH /go/src/github.com/ipfs/go-ipfs
Expand All @@ -29,7 +28,7 @@ ENV SRC_PATH /go/src/github.com/ipfs/go-ipfs
# and trigger a re-run of all following commands.
COPY ./package.json $SRC_PATH/package.json

RUN apk add --update musl go=$GO_VERSION git bash wget ca-certificates \
RUN apk add --update musl go git bash wget ca-certificates \
&& mkdir -p $IPFS_PATH \
&& adduser -D -h $IPFS_PATH -u 1000 ipfs \
&& chown ipfs:ipfs $IPFS_PATH && chmod 755 $IPFS_PATH \
Expand Down

0 comments on commit c4e8210

Please sign in to comment.