mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
60297a1bbe
* Added test runner and build files * Changes to int test to output junit results. * Updated documentation, removed comments Signed-off-by: dereknola <derek.nola@suse.com>
17 lines
498 B
Docker
17 lines
498 B
Docker
FROM golang:buster
|
|
|
|
|
|
RUN apt update && \
|
|
apt install -y curl git lsof bash openssh-server gcc g++ make ca-certificates && \
|
|
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
|
|
|
|
WORKDIR $GOPATH/src/github.com/rancher/k3s-io/k3s/
|
|
|
|
COPY ./tests/testdata ./testdata
|
|
COPY ./tests/integration/test-runner.sh .
|
|
COPY ./dist/artifacts/k3s /usr/local/bin
|
|
COPY ./dist/artifacts/k3s-integration-* ./tests/
|
|
|
|
RUN go get -u github.com/onsi/gomega
|
|
RUN go get -u github.com/onsi/ginkgo
|