Add jq and remove godep from kube-cross

parent 499d6da9
...@@ -37,7 +37,7 @@ RUN for platform in ${KUBE_CROSSPLATFORMS}; do GOOS=${platform%/*} GOARCH=${plat ...@@ -37,7 +37,7 @@ RUN for platform in ${KUBE_CROSSPLATFORMS}; do GOOS=${platform%/*} GOARCH=${plat
# Install g++, then download and install protoc for generating protobuf output # Install g++, then download and install protoc for generating protobuf output
RUN apt-get update \ RUN apt-get update \
&& apt-get install -y g++ rsync apt-utils file patch \ && apt-get install -y g++ rsync jq apt-utils file patch \
&& apt-get clean && rm -rf /var/lib/apt/lists/* && apt-get clean && rm -rf /var/lib/apt/lists/*
RUN mkdir -p /usr/local/src/protobuf \ RUN mkdir -p /usr/local/src/protobuf \
...@@ -62,14 +62,13 @@ RUN echo "deb http://archive.ubuntu.com/ubuntu xenial main universe" > /etc/apt/ ...@@ -62,14 +62,13 @@ RUN echo "deb http://archive.ubuntu.com/ubuntu xenial main universe" > /etc/apt/
# work around 64MB tmpfs size in Docker 1.6 # work around 64MB tmpfs size in Docker 1.6
ENV TMPDIR /tmp.k8s ENV TMPDIR /tmp.k8s
# Get the code coverage tool, goimports, and godep
RUN mkdir $TMPDIR \ RUN mkdir $TMPDIR \
&& chmod a+rwx $TMPDIR \ && chmod a+rwx $TMPDIR \
&& chmod o+t $TMPDIR \ && chmod o+t $TMPDIR
&& go get golang.org/x/tools/cmd/cover \
golang.org/x/tools/cmd/goimports \ # Get the code coverage tool and goimports
github.com/tools/godep RUN go get golang.org/x/tools/cmd/cover \
golang.org/x/tools/cmd/goimports
# Download and symlink etcd. We need this for our integration tests. # Download and symlink etcd. We need this for our integration tests.
RUN export ETCD_VERSION=v3.0.17; \ RUN export ETCD_VERSION=v3.0.17; \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment