I hereby claim:
- I am sh0rez on github.
- I am shorez (https://keybase.io/shorez) on keybase.
- I have a public key ASAuu92dSqcTlk3Q_yEPCrWET8plSUcVf_VsmgYQ69mLuQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
FROM golang:1.12-alpine as goenv | |
RUN go env GOARCH > /goarch && \ | |
go env GOARM > /goarm | |
FROM --platform=linux/amd64 golang:1.12-alpine as build | |
COPY --from=goenv /goarch /goarm / | |
COPY . /app | |
WORKDIR /app | |
RUN GOARCH=$(cat /goarch) GOARM=$(cat /goarm) go build . |
FROM golang:1.11.4-stretch as helm | |
ARG HELM_VER="v2.13.1" | |
RUN curl -L -o /tmp/helm-$HELM_VER.tgz http://storage.googleapis.com/kubernetes-helm/helm-${HELM_VER}-linux-amd64.tar.gz && \ | |
tar -xz -C /tmp -f /tmp/helm-$HELM_VER.tgz && \ | |
mv /tmp/linux-amd64/helm /usr/bin/helm && \ | |
rm -rf /tmp/linux-amd64 /tmp/helm-$HELM_VER.tgz | |
FROM golang:1.11.4-stretch as golangci | |
RUN curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s v1.17.1 |
(import "ksonnet-util/kausal.libsonnet") + { | |
local configMap = $.core.v1.configMap, | |
local deploy = $.apps.v1.deployment, | |
local container = $.core.v1.container, | |
// the data for the configMap | |
myConfigData:: { | |
"foo.yml": std.manifestYamlDoc({ | |
foo: "bar", | |
list: [1,2,3], |