Merge pull request #17268 from ixdy/jenkins-test-image-apparmor

Install libapparmor1 in kubekins-test image
This commit is contained in:
Jeff Lowdermilk 2015-11-16 13:15:46 -08:00
commit e6f9ddc200
3 changed files with 4 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.2 \
-i gcr.io/google_containers/kubekins-test:0.3 \
bash -c "cd kubernetes && ./hack/jenkins/test-dockerized.sh"

View File

@ -24,7 +24,8 @@ ENV TERM xterm
WORKDIR /workspace
RUN apt-get -o Acquire::Check-Valid-Until=false update && apt-get install -y rsync
RUN apt-get install -y file
# libapparmor1 is needed for docker-in-docker.
RUN apt-get install -y file libapparmor1
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.2
TAG = 0.3
container:
docker build -t gcr.io/google_containers/kubekins-test .