Created
June 27, 2017 08:37
-
-
Save zdebra/6d9bc858a1bd8cfc916e8c5bee70c463 to your computer and use it in GitHub Desktop.
CircleCI build image
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 [email protected] --unsafe-perm | |
RUN npm install -g [email protected] | |
# 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