FROM eu.gcr.io/ac-registry/dbz:cli

ENV DEBIAN_FRONTEND noninteractive

# Install sqitch
RUN apt-get update \
    && apt-get install -y --no-install-recommends less \
    && rm -rf /var/lib/apt/lists/*

ADD toolbox.sh /toolbox.sh
RUN chmod +x /toolbox.sh

ENTRYPOINT ["/toolbox.sh"]

# Add correct locale
ENV LANG C.UTF-8
ENV LC_ALL C.UTF-8
