docker: remove go version constraint
There's only ever one version of a given package per Alpine release, so GO_VERSION is superfluous and only breaks the build if the go packages is updated. License: MIT Signed-off-by: Lars Gierth <larsg@systemli.org>
Lars Gierth committed
Jul 1, 2016 at 16:33 UTC
8cdf819af99e5ef97c707e1f5e0f79f4f592ad7f
2 files changed
+2
-4
Dockerfile
+1
-2
@@ -29,7 +29,6 @@ ENV IPFS_PATH /data/ipfs
29
# The default logging level
30
ENV IPFS_LOGGING ""
31
# Golang stuff
32
-ENV GO_VERSION 1.6.2-r2
32
ENV GOPATH /go
33
ENV PATH /go/bin:$PATH
34
ENV SRC_PATH /go/src/github.com/ipfs/go-ipfs
@@ -37,7 +36,7 @@ ENV SRC_PATH /go/src/github.com/ipfs/go-ipfs
36
# Get the go-ipfs sourcecode
37
COPY . $SRC_PATH
38
40
-RUN apk add --update musl go=$GO_VERSION git bash wget ca-certificates \
39
+RUN apk add --update musl go git bash wget ca-certificates \
40
# Setup user and fs-repo directory
41
&& mkdir -p $IPFS_PATH \
42
&& adduser -D -h $IPFS_PATH -u 1000 ipfs \
Dockerfile.fast
+1
-2
@@ -15,7 +15,6 @@ EXPOSE 8080
15
ENV GX_IPFS ""
16
ENV IPFS_PATH /data/ipfs
17
ENV IPFS_LOGGING ""
18
-ENV GO_VERSION 1.6.2-r2
18
ENV GOPATH /go
19
ENV PATH /go/bin:$PATH
20
ENV SRC_PATH /go/src/github.com/ipfs/go-ipfs
@@ -29,7 +28,7 @@ ENV SRC_PATH /go/src/github.com/ipfs/go-ipfs
28
# and trigger a re-run of all following commands.
29
COPY ./package.json $SRC_PATH/package.json
30
32
-RUN apk add --update musl go=$GO_VERSION git bash wget ca-certificates \
31
+RUN apk add --update musl go git bash wget ca-certificates \
32
&& mkdir -p $IPFS_PATH \
33
&& adduser -D -h $IPFS_PATH -u 1000 ipfs \
34
&& chown ipfs:ipfs $IPFS_PATH && chmod 755 $IPFS_PATH \