Skip to content

Instantly share code, notes, and snippets.

View lukassup's full-sized avatar
🍕

Lukas Šupienis lukassup

🍕
View GitHub Profile
FROM golang:1.10 as builder
RUN apt-get update && apt-get install -y rsync
WORKDIR /go/src/k8s.io/kubernetes
ARG KUBE_VERSION=v1.10.1
ENV KUBE_VERSION=${KUBE_VERSION}
RUN git clone --depth=1 --branch="${KUBE_VERSION}" https://github.com/kubernetes/kubernetes.git .
FROM golang:1.10 as builder
RUN apt-get update && apt-get install -y rsync
WORKDIR /go/src/k8s.io/kubernetes
ARG KUBE_VERSION=v1.10.1
ENV KUBE_VERSION=${KUBE_VERSION}
RUN git clone --depth=1 --branch="${KUBE_VERSION}" https://github.com/kubernetes/kubernetes.git .
FROM golang:1.10 as builder
RUN apt-get update && apt-get install -y rsync
WORKDIR /go/src/k8s.io/kubernetes
ARG KUBE_VERSION=v1.10.1
ENV KUBE_VERSION=${KUBE_VERSION}
RUN git clone --depth=1 --branch="${KUBE_VERSION}" https://github.com/kubernetes/kubernetes.git .
FROM golang:1.10 as builder
RUN apt-get update && apt-get install -y rsync
WORKDIR /go/src/k8s.io/kubernetes
ARG KUBE_VERSION=v1.10.1
ENV KUBE_VERSION=${KUBE_VERSION}
RUN git clone --depth=1 --branch="${KUBE_VERSION}" https://github.com/kubernetes/kubernetes.git .
FROM golang:1.10 as builder
RUN apt-get update && apt-get install -y rsync
WORKDIR /go/src/k8s.io/kubernetes
ARG KUBE_VERSION=v1.10.1
ENV KUBE_VERSION=${KUBE_VERSION}
RUN git clone --depth=1 --branch="${KUBE_VERSION}" https://github.com/kubernetes/kubernetes.git .
FROM golang:1.10 as build
RUN apt-get update && apt-get install -y rsync
WORKDIR /go/src/k8s.io/kubernetes
ARG KUBE_VERSION=v1.10.1
ENV KUBE_VERSION=${KUBE_VERSION}
RUN git clone --depth=1 --branch="${KUBE_VERSION}" https://github.com/kubernetes/kubernetes.git .
RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=0 KUBE_BUILD_PLATFORMS=linux/amd64 make WHAT=cmd/kubectl
WORKDIR /go/src/k8s.io/helm
alang=eng,en,lit,lt # String list
cache-secs=300.00 # Double (0 to any)
force-window=yes # Choices: no yes immediate
hwdec=vdpau # Choices: no auto yes auto-copy vdpau vdpau-copy videotoolbox videotoolbox-copy vaapi vaapi-copy dxva2 dxva2-copy d3d11va d3d11va-copy rpi rpi-copy mediacodec cuda cuda-copy crystalhd
hwdec-codecs=h264,vc1,wmv3,mpeg2video # h264,vc1,wmv3,hevc,mpeg2video,vp9 # String
idle=once # Choices: no once yes
keep-open=yes # Choices: no yes always
osd-font='Roboto' # String
slang=eng,en,lit,lt # String list
sub-font='Roboto Medium' # String
@lukassup
lukassup / zipapp.md
Last active September 12, 2023 02:17
Python zipapp

Python zipapp web apps

What's a zipapp?

This concept is very much like .jar or .war archives in Java.

NOTE: The built .pyz zipapp can run on both Python 2 & 3 but you can only build .pyz zipapps with Python 3.5 or later.

Initial setup

@lukassup
lukassup / puppet-learning-vm.md
Last active October 28, 2017 15:23
Puppet learning VM