Update AWS CLI version to 1.14.22
Update AWS CLI version to 1.14.22

FROM python:3.6-slim
MAINTAINER Nikolay Rybak <mykola.rybak@gmail.com>

ARG BUILD_DATE
ARG VCS_REF

LABEL org.label-schema.schema-version="1.0" \
      org.label-schema.name="AWS CLI" \
      org.label-schema.url="https://aws.amazon.com/cli/" \
      org.label-schema.vcs-url="https://github.com/GreyTeardrop/docker-awscli" \
      org.label-schema.vcs-ref=$VCS_REF \
      org.label-schema.build-date=$BUILD_DATE \
      org.label-schema.version="1.14.21"

RUN \
    apt-get update && \
    apt-get install -y --no-install-recommends groff-base && \
    mkdir -p /aws && \
    pip install --upgrade awscli==1.14.21 && \
    rm -rf /root/.cache && \
    rm -rf /var/lib/apt/lists/*

WORKDIR /aws
ENTRYPOINT ["aws"]

FROM python:3.6-slim
MAINTAINER Nikolay Rybak <mykola.rybak@gmail.com>

ARG BUILD_DATE
ARG VCS_REF

LABEL org.label-schema.schema-version="1.0" \
      org.label-schema.name="AWS CLI" \
      org.label-schema.url="https://aws.amazon.com/cli/" \
      org.label-schema.vcs-url="https://github.com/GreyTeardrop/docker-awscli" \
      org.label-schema.vcs-ref=$VCS_REF \
      org.label-schema.build-date=$BUILD_DATE \
      org.label-schema.version="1.14.22"

RUN \
    apt-get update && \
    apt-get install -y --no-install-recommends groff-base && \
    mkdir -p /aws && \
    pip install --upgrade awscli==1.14.22 && \
    rm -rf /root/.cache && \
    rm -rf /var/lib/apt/lists/*

WORKDIR /aws
ENTRYPOINT ["aws"]
