This repository has been archived by the owner on Nov 6, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add command line interfaces for helm, kind, and openfaas
- Loading branch information
useswachte
committed
Mar 18, 2019
1 parent
ce182ce
commit e1cb785
Showing
1 changed file
with
16 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 && \ | ||
|
@@ -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] | ||
|