Add MOBY_COMMIT to dockerfile
This commit is contained in:
@@ -6,10 +6,12 @@ RUN apk add --no-cache git tmux py2-pip apache2-utils vim build-base gettext-dev
|
|||||||
ENV GOPATH /root/go
|
ENV GOPATH /root/go
|
||||||
ENV PATH $PATH:$GOPATH
|
ENV PATH $PATH:$GOPATH
|
||||||
|
|
||||||
# Download moby and linuxkit
|
# Use specific moby commit due to vendoring mismatch
|
||||||
|
ENV MOBY_COMMIT="a73c3d3667f32fd61febcd2e824aa0341a57bafd"
|
||||||
|
|
||||||
RUN mkdir /root/go && apk add --no-cache go \
|
RUN mkdir /root/go && apk add --no-cache go \
|
||||||
&& go get -u github.com/moby/tool/cmd/moby github.com/linuxkit/linuxkit/src/cmd/linuxkit \
|
&& go get -u -d github.com/moby/tool/cmd/moby && (cd $GOPATH/src/github.com/moby/tool/cmd/moby && git checkout $MOBY_COMMIT && go install) \
|
||||||
|
&& go get -u github.com/linuxkit/linuxkit/src/cmd/linuxkit \
|
||||||
&& rm -rf /root/go/pkg && rm -rf /root/go/src && rm -rf /usr/lib/go
|
&& rm -rf /root/go/pkg && rm -rf /root/go/src && rm -rf /usr/lib/go
|
||||||
|
|
||||||
# Compile and install httping
|
# Compile and install httping
|
||||||
|
|||||||
Reference in New Issue
Block a user