2021-05-20 16:31:08 +02:00
|
|
|
# syntax = docker/dockerfile:1.2
|
|
|
|
FROM python:3.8.6-slim-buster as compile-image
|
|
|
|
|
2021-06-26 00:59:10 +02:00
|
|
|
WORKDIR /root
|
|
|
|
|
2021-05-20 16:31:08 +02:00
|
|
|
RUN apt-get update
|
|
|
|
RUN apt-get install -y --no-install-recommends git gcc g++ libpq-dev gawk jq telnet wget openssl iputils-ping gnupg socat bash procps make python2 cargo
|
|
|
|
|
|
|
|
RUN mkdir -vp /usr/local/etc/cic
|
|
|
|
|
|
|
|
COPY data-seeding/requirements.txt .
|
|
|
|
|
|
|
|
COPY data-seeding/ .
|
|
|
|
|
2021-06-26 00:59:10 +02:00
|
|
|
ARG EXTRA_INDEX_URL="https://pip.grassrootseconomics.net:8433"
|
|
|
|
RUN pip install --extra-index-url $EXTRA_INDEX_URL -r requirements.txt
|
2021-05-20 16:31:08 +02:00
|
|
|
|
|
|
|
|
|
|
|
ENTRYPOINT [ ]
|