Skip to content

Commit

Permalink
Pin versions of our main top-level libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Williams authored and Samuel Williams committed Feb 13, 2018
1 parent 3d03c6b commit 6b6da54
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions base.docker
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ ENV APP_DIR /app

ENV NODE_VERSION 6.12.2
ENV YARN_VERSION 1.3.2-1
ENV SUPERVISOR_VERSION 3.3.3
ENV UWSGI_VERSION 2.0.15
ENV AWSCLI_VERSION 1.14.31
ENV AWSCLI_CWLOGS_VERSION 1.4.4

RUN apt-get update && \
apt-get install -y --no-install-recommends nginx \
Expand All @@ -17,8 +21,8 @@ RUN apt-get update && \
apt-get update && \
apt-get install -y --no-install-recommends yarn=${YARN_VERSION} && \
rm -rf /var/lib/apt/lists/* && \
/usr/bin/python2.7 /usr/bin/pip install supervisor==3.3.3 && \
pip install --no-cache-dir uwsgi awscli awscli-cwlogs && \
/usr/bin/python2.7 /usr/bin/pip install supervisor==${SUPERVISOR_VERSION} && \
/usr/local/bin/pip install --no-cache-dir uwsgi==${UWSGI_VERSION} awscli==${AWSCLI_VERSION} awscli-cwlogs==${AWSCLI_CWLOGS_VERSION} && \
aws configure set plugins.cwlogs cwlogs && \
mkdir -p ${APP_DIR} && \
rm -f /etc/nginx/sites-enabled/* && \
Expand Down

0 comments on commit 6b6da54

Please sign in to comment.