Changeset View
Changeset View
Standalone View
Standalone View
docker/Dockerfile
Show All 15 Lines | apt-get install -y \ | ||||
libsvn-dev \ | libsvn-dev \ | ||||
libsystemd-dev \ | libsystemd-dev \ | ||||
memcached \ | memcached \ | ||||
postgresql-client-12 \ | postgresql-client-12 \ | ||||
wait-for-it \ | wait-for-it \ | ||||
ngrep \ | ngrep \ | ||||
rsync \ | rsync \ | ||||
nodejs \ | nodejs \ | ||||
cron \ | |||||
yarn && \ | yarn && \ | ||||
apt-get install -y --no-install-recommends \ | apt-get install -y --no-install-recommends \ | ||||
r-base-core \ | r-base-core \ | ||||
r-cran-jsonlite && \ | r-cran-jsonlite && \ | ||||
apt-get clean && \ | apt-get clean && \ | ||||
rm -rf /var/lib/apt/lists/* | rm -rf /var/lib/apt/lists/* | ||||
RUN useradd -md /srv/softwareheritage -s /bin/bash swh | RUN useradd -md /srv/softwareheritage -s /bin/bash swh | ||||
RUN echo swh >> /etc/cron.allow | |||||
RUN cron -f & | |||||
USER swh | USER swh | ||||
RUN python3 -m venv /srv/softwareheritage/venv | RUN python3 -m venv /srv/softwareheritage/venv | ||||
ENV PATH="/srv/softwareheritage/venv/bin:${PATH}" | ENV PATH="/srv/softwareheritage/venv/bin:${PATH}" | ||||
RUN pip install --upgrade pip setuptools wheel | RUN pip install --upgrade pip setuptools wheel | ||||
RUN pip install gunicorn httpie | RUN pip install gunicorn httpie | ||||
RUN pip install \ | RUN pip install \ | ||||
Show All 19 Lines |