Updated base image

Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
Marcus Noble 2022-05-29 16:00:07 +01:00
parent a54fda6f21
commit 3a9c10c8a5
Signed by: AverageMarcus
GPG Key ID: B8F2DB8A7AEBAF78
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
FROM ubuntu:19.10
FROM ubuntu:21.10
RUN apt-get update -y
RUN apt-get install -y software-properties-common && \
@ -15,7 +15,7 @@ RUN apt-get install -y \
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
RUN curl -L https://raw.githubusercontent.com/warrensbox/terraform-switcher/release/install.sh | bash
RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.24.0
RUN go get -u golang.org/x/lint/golint
RUN go install golang.org/x/lint/golint@latest
RUN curl -LO https://storage.googleapis.com/kubernetes-release/release/`curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt`/bin/linux/amd64/kubectl \
&& chmod +x ./kubectl \
&& mv ./kubectl /usr/local/bin/kubectl

View File

@ -1,6 +1,6 @@
.DEFAULT_GOAL := default
IMAGE ?= docker.cluster.fun/private/ci-builder:latest
IMAGE ?= rg.fr-par.scw.cloud/averagemarcus/ci-builder:latest
.PHONY: test # Run all tests, linting and format checks
test: lint check-format run-tests