Skip to content

Instantly share code, notes, and snippets.

@zdebra
Created June 27, 2017 08:37
Show Gist options
  • Save zdebra/6d9bc858a1bd8cfc916e8c5bee70c463 to your computer and use it in GitHub Desktop.
Save zdebra/6d9bc858a1bd8cfc916e8c5bee70c463 to your computer and use it in GitHub Desktop.
CircleCI build image
FROM node:8.1.2
# Update the system
RUN apt-get -y update && apt-get -y install build-essential chrpath libssl-dev libxft-dev netcat unzip jq python-pip libpython-dev
# installing aws-cli
RUN pip install awscli
# frontend build dependencies
RUN npm install -g mango-cli@0.32.0 --unsafe-perm
RUN npm install -g knex@0.13.0
# docker for building docker images (remote docker)
RUN VER="17.04.0-ce" \
&& curl -L -o /tmp/docker-$VER.tgz https://get.docker.com/builds/Linux/x86_64/docker-$VER.tgz \
&& tar -xz -C /tmp -f /tmp/docker-$VER.tgz \
&& mv /tmp/docker/* /usr/bin
# installing kubernetes controll
RUN curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl \
&& chmod +x ./kubectl \
&& mv ./kubectl /usr/local/bin/kubectl
RUN mkdir -p ~/.kube
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment