Changeset View
Changeset View
Standalone View
Standalone View
dockerfiles/swh-storage-listener/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 swh-storage kafka_python | RUN pip install swh-storage kafka_python | ||||
COPY listener.yml /etc/softwareheritage/storage/ | |||||
COPY entrypoint.sh / | COPY entrypoint.sh / | ||||
ENTRYPOINT ["/entrypoint.sh"] | ENTRYPOINT ["/entrypoint.sh"] |