blob: 97014fd9149f9c6eb49c27962f3bcbe4952c1b71 [file] [log] [blame]
FROM gerrit-base:latest
USER root
ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8
COPY tools/* /var/tools/
WORKDIR /var/tools
RUN apt-get update && \
apt-get install -y \
mysql-client \
python3 \
python3-pip && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* && \
pip3 install pipenv && \
pipenv install --system
USER gerrit
ENTRYPOINT ["/var/tools/gerrit_init.py", "-s", "/var/gerrit"]