File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3+ # fail on any command exiting non-zero
4+ set -eo pipefail
5+
36if [[ -z $DOCKER_BUILD ]]; then
4- echo
7+ echo
58 echo " Note: this script is intended for use by the Dockerfile and not as a way to build the cache locally"
6- echo
9+ echo
710 exit 1
811fi
912
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3+ # fail on any command exiting non-zero
4+ set -eo pipefail
5+
36if [[ -z $DOCKER_BUILD ]]; then
47 echo
58 echo " Note: this script is intended for use by the Dockerfile and not as a way to build the controller locally"
@@ -13,7 +16,7 @@ DEBIAN_FRONTEND=noninteractive
1316# HACK: install git so we can install bacongobbler's fork of django-fsm
1417# install openssh-client for temporary fleetctl wrapper
1518apt-get update && \
16- apt-get install -yq python-dev libpq-dev libyaml-dev git
19+ apt-get install -yq python-dev libffi-dev libpq-dev libyaml-dev git
1720
1821# install pip
1922curl -sSL https://raw.githubusercontent.com/pypa/pip/1.5.6/contrib/get-pip.py | python -
@@ -32,8 +35,8 @@ mkdir -p /templates && chown -R deis:deis /templates
3235pip install -r /app/requirements.txt
3336
3437# cleanup. indicate that python, libpq and libyanl are required packages.
35- apt-mark unmarkauto python python-openssl libpq5 libpython2.7 libyaml-0-2 && \
36- apt-get remove -y --purge python-dev gcc cpp libpq-dev libyaml-dev git && \
38+ apt-mark unmarkauto python python-openssl libpq5 libpython2.7 libffi6 libyaml-0-2 && \
39+ apt-get remove -y --purge python-dev gcc cpp libffi-dev libpq-dev libyaml-dev git && \
3740 apt-get autoremove -y --purge && \
3841 apt-get clean -y && \
3942 rm -Rf /usr/share/man /usr/share/doc && \
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3+ # fail on any command exiting non-zero
4+ set -eo pipefail
5+
36if [[ -z $DOCKER_BUILD ]]; then
4- echo
7+ echo
58 echo " Note: this script is intended for use by the Dockerfile and not as a way to build the database locally"
6- echo
9+ echo
710 exit 1
811fi
912
@@ -49,4 +52,4 @@ apt-mark unmarkauto python curl daemontools file libxml2-dev \
4952 apt-get clean -y && \
5053 rm -Rf /usr/share/man /usr/share/doc && \
5154 rm -rf /tmp/* /var/tmp/* && \
52- rm -rf /var/lib/apt/lists/*
55+ rm -rf /var/lib/apt/lists/*
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3+ # fail on any command exiting non-zero
4+ set -eo pipefail
5+
36if [[ -z $DOCKER_BUILD ]]; then
4- echo
7+ echo
58 echo " Note: this script is intended for use by the Dockerfile and not as a way to build the registry locally"
6- echo
9+ echo
710 exit 1
811fi
912
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3+ # fail on any command exiting non-zero
4+ set -eo pipefail
5+
36if [[ -z $DOCKER_BUILD ]]; then
47 echo
58 echo " Note: this script is intended for use by the Dockerfile and not as a way to build the router locally"
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3+ # fail on any command exiting non-zero
4+ set -eo pipefail
5+
36if [[ -z $DOCKER_BUILD ]]; then
4- echo
7+ echo
58 echo " Note: this script is intended for use by the Dockerfile and not as a way to build the controller locally"
6- echo
9+ echo
710 exit 1
811fi
912
You can’t perform that action at this time.
0 commit comments