Sign inSign up

lumosdang/gitpod

By lumosdang

Updated over 3 years ago

Image
0

155

lumosdang/gitpod repository overview

.NET 7.0, Angular, Kubectl, Helm
FROM gitpod/workspace-dotnet:2022-11-15-17-00-18

RUN npm i -g @angular/cli @angular/core yarn

# https://storage.googleapis.com/kubernetes-release/release/stable.txt
ENV KUBECTL_VERSION="v1.25.4"

## Install Kubectl
RUN curl -LO https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl && \
	chmod +x ./kubectl && \
	sudo mv ./kubectl /usr/local/bin/kubectl && \
	mkdir ~/.kube

## Install Helm
RUN curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 && \
	chmod 700 get_helm.sh && \
	./get_helm.sh

## Add aliases
RUN echo 'alias k="kubectl"' >> /home/gitpod/.bashrc; \
	echo 'alias kx="kubectl config set-context"' >> /home/gitpod/.bashrc; \
	echo 'alias kn="kubectl config set-context --current --namespace "' >> /home/gitpod/.bashrc; \
	echo 'alias h="helm"' >> /home/gitpod/.bashrc


Tag summary

Content type

Image

Digest

sha256:b7f6167d8

Size

703.7 MB

Last updated

over 3 years ago

docker pull lumosdang/gitpod:workspace-kubernetes-v1.26.3