Changeset View
Changeset View
Standalone View
Standalone View
dockerfiles/swh-indexer-worker/Dockerfile
FROM python:3.6 | FROM python:3.6 | ||||
RUN export DEBIAN_FRONTEND=noninteractive && \ | RUN export DEBIAN_FRONTEND=noninteractive && \ | ||||
apt-get update && \ | apt-get update && \ | ||||
apt-get install -y \ | apt-get install -y \ | ||||
libsystemd-dev postgresql-client | libsystemd-dev postgresql-client | ||||
RUN pip install --upgrade pip setuptools wheel | RUN pip install --upgrade pip setuptools wheel | ||||
RUN pip install swh-indexer | RUN pip install swh-indexer | ||||
RUN useradd -ms /bin/bash swh | RUN useradd -ms /bin/bash swh | ||||
USER swh | USER swh | ||||
COPY entrypoint.sh / | COPY entrypoint.sh / | ||||
COPY indexer.yml /home/swh/ | |||||
ENTRYPOINT ["/entrypoint.sh"] | ENTRYPOINT ["/entrypoint.sh"] |