Skip to content
This repository has been archived by the owner on Nov 6, 2019. It is now read-only.

Commit

Permalink
add command line interfaces for helm, kind, and openfaas
Browse files Browse the repository at this point in the history
  • Loading branch information
useswachte committed Mar 18, 2019
1 parent ce182ce commit e1cb785
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@ FROM openjdk:8-jdk-slim

MAINTAINER USU Software AG

RUN echo "deb http://deb.debian.org/debian stretch-backports main" >> /etc/apt/sources.list

RUN \
apt-get update && \
apt-get install -y -qq --no-install-recommends wget unzip python openssh-client python-openssl git-core jq curl vim gnupg2 && \
apt-get install -y -t stretch-backports golang-go && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
rm -rf /var/lib/apt/lists/*

RUN \
curl -s https://raw.githubusercontent.com/paulp/sbt-extras/master/sbt > /usr/local/bin/sbt && chmod 0755 /usr/local/bin/sbt && \
Expand All @@ -30,6 +33,18 @@ RUN curl -fsSLO https://download.docker.com/linux/static/stable/x86_64/docker-${
&& tar xzvf docker-${DOCKERVERSION}.tgz --strip 1 -C /usr/local/bin docker/docker \
&& rm docker-${DOCKERVERSION}.tgz

ENV HELM_ARCHIVE=helm-v2.12.1-linux-amd64.tar.gz \
HELM_DIR=linux-amd64 \
FAAS_CLI_VERSION=0.8.5

RUN curl -LsO https://storage.googleapis.com/kubernetes-helm/$HELM_ARCHIVE && tar -zxvf $HELM_ARCHIVE && cp $HELM_DIR/* /usr/local/bin

RUN curl -LsO https://github.com/openfaas/faas-cli/releases/download/${FAAS_CLI_VERSION}/faas-cli && chmod +x faas-cli && cp faas-cli /usr/local/bin

RUN go version
RUN go get -u sigs.k8s.io/kind
RUN cp $(go env GOPATH)/bin/* /usr/local/bin

# Install node & npm
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash -
RUN apt install -y nodejs && npm install -g [email protected]
Expand Down

0 comments on commit e1cb785

Please sign in to comment.