ARG BASE_IMAGE FROM ${BASE_IMAGE}:latest RUN apt-get update RUN apt-get install -y gettext-base RUN apt-get clean ENV PATH=/opt/bin:$PATH COPY _common/entrypoint.aws.sh /opt/bin/entrypoint.aws.sh RUN chmod +x /opt/bin/entrypoint.aws.sh WORKDIR /scratch ENTRYPOINT ["entrypoint.aws.sh"]