Update kubekins-test image to include netcat

This commit is contained in:
Jeff Grafton 2016-01-19 15:08:39 -08:00
parent 62bc09adf3
commit ad8ea35d94
3 changed files with 7 additions and 3 deletions

View File

@ -42,5 +42,5 @@ docker run --rm=true \
-v "${REPO_DIR}":/go/src/k8s.io/kubernetes \
-v "${KUBE_JUNIT_REPORT_DIR}":/workspace/artifacts \
--env REPO_DIR="${REPO_DIR}" \
-i gcr.io/google_containers/kubekins-test:0.5 \
-i gcr.io/google_containers/kubekins-test:0.6 \
bash -c "cd kubernetes && ./hack/jenkins/test-dockerized.sh"

View File

@ -24,8 +24,12 @@ ENV TERM xterm
WORKDIR /workspace
RUN apt-get -o Acquire::Check-Valid-Until=false update && apt-get install -y rsync
# file is used when uploading test artifacts to GCS.
RUN apt-get install -y file
# libapparmor1 is needed for docker-in-docker.
RUN apt-get install -y file libapparmor1
RUN apt-get install -y libapparmor1
# netcat is used by integration test scripts.
RUN apt-get install -y netcat-openbsd
RUN mkdir -p /go/src/k8s.io/kubernetes
RUN ln -s /go/src/k8s.io/kubernetes /workspace/kubernetes

View File

@ -1,6 +1,6 @@
all: push
TAG = 0.5
TAG = 0.6
container:
docker build -t gcr.io/google_containers/kubekins-test .