11# Planet 4 CircleCI build image
22# Branch: develop
3- # Commit: ad1e02597c28c81bedd826a5989b440823572031
4- # Build: https://circleci.com/gh/greenpeace/planet4-circleci/890
3+ # Commit: f1f9cbf5f73c66abf7cd162be2c0a7d7d3019afd
4+ # Build: (local)
55# ------------------------------------------------------------------------
66# DO NOT MAKE CHANGES HERE
77# This file is built automatically from ./templates/Dockerfile.in
88# ------------------------------------------------------------------------
99
1010FROM circleci/php:7.0-node
1111
12- LABEL maintainer="${MAINTAINER} " \
12+ LABEL maintainer="Raymond Walker <raymond.walker@greenpeace.org> " \
1313 description="Planet 4 CircleCI build image: \
1414Base image for performing CI/CD operations in CircleCI"
1515
@@ -20,35 +20,40 @@ ENV CIRCLECI_USER="circleci" \
2020
2121WORKDIR /home/circleci
2222
23+ COPY .curlrc /home/circleci
24+
2325COPY ./scripts /home/circleci/scripts
24- COPY ./etc/ /etc
2526
2627RUN git clone https://github.com/sstephenson/bats.git && \
2728 ./bats/install.sh /usr/local && \
2829 rm -fr /home/circleci/bats && \
29- curl --connect-timeout 5 --max-time 10 --retry 5 --retry-delay 0 --retry-max-time 60 "https://releases.hashicorp.com/terraform/0.11.7 /terraform_0.11.7_linux_amd64 .zip" > /tmp/terraform.zip && \
30+ curl -sS "https://releases.hashicorp.com/terraform/0.11.10 /terraform_0.11.10_linux_amd64 .zip" > /tmp/terraform.zip && \
3031 unzip /tmp/terraform.zip -d /usr/local/bin && \
3132 chmod 0755 /usr/local/bin/terraform && \
32- curl --connect-timeout 5 --max-time 10 --retry 5 --retry-delay 0 --retry-max-time 60 -sSOL https://github.com/gruntwork-io/terragrunt/releases/download/v0.16.3 /terragrunt_linux_amd64 && \
33+ curl -sSO https://github.com/gruntwork-io/terragrunt/releases/download/v0.17.2 /terragrunt_linux_amd64 && \
3334 chmod 0755 terragrunt_linux_amd64 && \
3435 mv terragrunt_linux_amd64 /usr/local/bin/terragrunt && \
35- curl --connect-timeout 5 --max-time 10 --retry 5 --retry-delay 0 --retry-max-time 60 "https://beyondgrep.com/ack-2.24-single-file" > /usr/local/bin/ack && \
36- chmod 0755 /usr/local/bin/ack && \
3736 chmod 0755 /home/circleci/scripts/* && \
38- export "DESIRED_VERSION=v2.9.1 " && \
39- curl --connect-timeout 5 --max-time 10 --retry 5 --retry-delay 0 --retry-max-time 60 -sL https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get | bash - && \
37+ export "DESIRED_VERSION=v2.12.3 " && \
38+ curl -sS https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get | bash - && \
4039 wget --no-check-certificate -q https://raw.githubusercontent.com/petervanderdoes/gitflow-avh/develop/contrib/gitflow-installer.sh && \
41- bash gitflow-installer.sh install stable && \
42- rm gitflow-installer.sh && \
43- curl --connect-timeout 5 --max-time 10 --retry 5 --retry-delay 0 --retry-max-time 60 -sL https://dl.google.com/cloudsql/cloud_sql_proxy.linux.amd64 > /usr/local/bin/cloud_sql_proxy && \
40+ bash gitflow-installer.sh install version 1.11.0 && \
41+ rm -fr git-flow gitflow-installer.sh && \
42+ curl -s https://dl.google.com/cloudsql/cloud_sql_proxy.linux.amd64 > /usr/local/bin/cloud_sql_proxy && \
4443 chmod 0755 /usr/local/bin/cloud_sql_proxy && \
4544 apt-get install -y --no-install-recommends \
45+ gawk \
4646 gettext \
4747 mysql-client \
48+ python-pip \
49+ python-pkg-resources \
50+ python-setuptools \
4851 shellcheck \
52+ silversearcher-ag \
4953 vim \
5054 wget \
5155 && \
56+ pip install yamllint && \
5257 npm install -g \
5358 junit-merge \
5459 tap-xunit && \
@@ -58,7 +63,7 @@ RUN git clone https://github.com/sstephenson/bats.git && \
5863
5964USER circleci
6065
61- RUN curl --connect-timeout 5 --max-time 10 --retry 5 --retry-delay 0 --retry-max-time 60 -L "https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/"" google-cloud-sdk-209 .0.0-linux-x86_64.tar.gz" | tar xz && \
66+ RUN curl "https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-231 .0.0-linux-x86_64.tar.gz" | tar xz && \
6267 CLOUDSDK_CORE_DISABLE_PROMPTS=1 ./google-cloud-sdk/install.sh \
6368 --usage-reporting false \
6469 --bash-completion false \
0 commit comments