mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
c8447dca56
Also update all use of 'go get' => 'go install', update CI tooling for 1.18 compatibility, and gofmt everything so lint passes. Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
18 lines
580 B
Docker
18 lines
580 B
Docker
FROM golang:buster
|
|
|
|
# Enables integration tests to run on existing cluster via Sonobuoy plugin
|
|
|
|
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/k3s-io/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 install -u github.com/onsi/gomega
|
|
RUN go install -u github.com/onsi/ginkgo
|