Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

Commit

Permalink
Adding node, kubectl, terraform and helm
Browse files Browse the repository at this point in the history
  • Loading branch information
BobJWalker committed Oct 1, 2020
1 parent f4bca4d commit abf4918
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ The docker image includes tooling to make it easy to get going right from the st
- openssh-client
- git
- Docker
- kubectl
- terraform
- nodejs
- helm

# Docker Image information
The docker container has a few self-imposed limitations.
Expand Down
24 changes: 24 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ FROM mcr.microsoft.com/dotnet/core/runtime:3.1-bionic

ARG Powershell_Version=7.0.3\*
ARG Octopus_Cli_Version=7.4.1
ARG Node_Version=12.18.4\*
ARG Kubectl_Version=1.18.8-00
ARG Helm_Version=v3.3.0
ARG Terraform_Version=0.13.0

RUN apt-get update && \
apt-get install -y wget unzip apt-utils curl software-properties-common
Expand All @@ -25,6 +29,26 @@ RUN apt-get update && \
# Get python & groff
RUN apt-get install -y python3-pip groff

# Get NodeJS
# https://websiteforstudents.com/how-to-install-node-js-10-11-12-on-ubuntu-16-04-18-04-via-apt-and-snap/\
RUN wget --quiet -O - https://deb.nodesource.com/setup_12.x | bash && \
apt-get install -y nodejs=${Node_Version}

# Get Kubectl
# https://kubernetes.io/docs/tasks/tools/install-kubectl/#install-using-native-package-management
RUN wget --quiet -O - https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - && \
echo "deb https://apt.kubernetes.io/ kubernetes-xenial main" | tee -a /etc/apt/sources.list.d/kubernetes.list && \
apt-get update && apt-get install -y kubectl=${Kubectl_Version}

# Get Helm3
RUN wget --quiet -O - https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get | bash -s -- -v ${Helm_Version}

# Get Terraform
# https://computingforgeeks.com/how-to-install-terraform-on-ubuntu-centos-7/
RUN wget https://releases.hashicorp.com/terraform/${Terraform_Version}/terraform_${Terraform_Version}_linux_amd64.zip && \
unzip terraform_${Terraform_Version}_linux_amd64.zip && \
mv terraform /usr/local/bin

# Get common utilities for scripting
# https://mikefarah.gitbook.io/yq/
# https://augeas.net/
Expand Down

0 comments on commit abf4918

Please sign in to comment.