Skip to content

Instantly share code, notes, and snippets.

View JaredTan95's full-sized avatar
🏠
Working from home

Jared Tan JaredTan95

🏠
Working from home
View GitHub Profile
@yankay
yankay / 00readme.txt
Last active May 12, 2024 11:35
快速 启动一套 kubespray 集群(Ubuntu)
# 安装 kubespray
cd /opt
git clone https://github.com/kubernetes-sigs/kubespray.git
cd kubespray
pip3 install -r requirements.txt -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
# 配置集群
# Copy ``inventory/sample`` as ``inventory/mycluster``
cp -rfp inventory/sample inventory/mycluster
@dustyfresh
dustyfresh / Rust-Dockerfile
Created March 9, 2016 03:44
Dockerfile to bootstrap Rust dev environment
FROM debian:jessie
MAINTAINER dustyfresh, https://github.com/dustyfresh
RUN apt-get update && apt-get install --yes vim git build-essential wget libpcre3 libpcre3-dev libssl-dev python-setuptools python-pip supervisor curl sudo
# Add your .vimrc to the container
ADD ./vimrc /root/.vimrc
RUN wget https://static.rust-lang.org/rustup.sh; chmod +x rustup.sh; ./rustup.sh -y
RUN mkdir -pv /opt/code