I hereby claim:
- I am silenteh on github.
- I am silenteh (https://keybase.io/silenteh) on keybase.
- I have a public key ASBxzAHV0LxbPrVWgnp11dd1xS3VQ2Clun-f5er132rQvwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# Check the best practices from here: https://github.com/nodejs/docker-node/blob/master/docs/BestPractices.md | |
FROM node:6.11.2-alpine | |
# Set the NodeJS production | |
ENV NODE_ENV=production | |
# Update and upgrade the base image | |
# This layer will be cached | |
RUN apk update && apk upgrade |
"sudo apt-get update && sudo apt-get install -y apt-transport-https", | |
"echo 'deb http://apt.kubernetes.io/ kubernetes-xenial-unstable main' | sudo tee /etc/apt/sources.list.d/kubernetes.list", | |
"curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -", | |
"sudo apt-get update", | |
"sudo apt-get install -y docker.io", | |
"sudo apt-get install -y kubelet kubeadm kubectl kubernetes-cni", | |
"sudo service kubelet stop", | |
"sudo service kubelet start", | |
"sudo kubeadm init", | |
"sudo cp /etc/kubernetes/admin.conf $HOME/", |
wget http://sourceforge.net/projects/e1000/files/ixgbevf%20stable/2.16.1/ixgbevf-2.16.1.tar.gz | |
tar zxf ixgbevf-2.16.1.tar.gz | |
mv ixgbevf-2.16.1 /usr/src/ | |
cd /usr/src/ixgbevf-2.16.1 | |
vim dkms.conf #change version - @see http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enhanced-networking.html#enhanced-networking-ubuntu | |
curl -L -O https://gist.githubusercontent.com/defila-aws/44946d3a3c0874fe3d17/raw/18e8d8eb53364ab3dea9028c0aa06a3c05dea7b6/patch-ubuntu_14.04.1-ixgbevf-2.16.1-kcompat.h.patch | |
vim patch-ubuntu_14.04.1-ixgbevf-2.16.1-kcompat.h.patch | |
add a new line at the end of the patch file | |
cd src | |
patch -p5 < ../patch-ubuntu_14.04.1-ixgbevf-2.16.1-kcompat.h.patch |