FROM docker:17.03-git

RUN apk add --no-cache \
        py-pip \
        openssl \
        tar \
        make

ENV DOCKER_COMPOSE_VERSION 1.13.0
RUN pip install 'docker-compose=='${DOCKER_COMPOSE_VERSION}

ENV DOCKERIZE_VERSION v0.5.0
RUN apk add --no-cache wget \
    && wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz \
    && tar -C /usr/local/bin -xzvf dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz \
    && rm dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz \
    && apk del wget

FROM docker:17.03-git

RUN apk add --no-cache \
        py-pip \
        openssl \
        tar \
        make \
        bash

ENV DOCKER_COMPOSE_VERSION 1.13.0
RUN pip install 'docker-compose=='${DOCKER_COMPOSE_VERSION}

ENV DOCKERIZE_VERSION v0.5.0
RUN apk add --no-cache wget \
    && wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz \
    && tar -C /usr/local/bin -xzvf dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz \
    && rm dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz \
    && apk del wget

Add bash to the CI image
Add bash to the CI image
