aboutsummaryrefslogtreecommitdiffstats
path: root/docker/Dockerfile
blob: 4b9ddd4ee45b5bc4e8ba95c321e16a302e07a4e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
FROM opnfv/functest-core

ARG K8S_TAG=v1.7.3

RUN apk --no-cache add --update make bash go \
        grep rsync linux-headers musl-dev findutils && \
    git clone https://github.com/kubernetes/kubernetes /src/k8s.io/kubernetes && \
    (cd /src/k8s.io/kubernetes && git checkout $K8S_TAG) && \
    (cd /src/k8s.io/kubernetes && \
        make kubectl ginkgo && \
        make WHAT=test/e2e/e2e.test) && \
    rm -rf /src/k8s.io/kubernetes/.git