Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9348354
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Subscribers
None
View Options
diff --git a/Dockerfile b/Dockerfile
deleted file mode 100644
index d002054..0000000
--- a/Dockerfile
+++ /dev/null
@@ -1,66 +0,0 @@
-###
-# Base image mother of all
-FROM python:3.7 as swh-base
-
-RUN . /etc/os-release && echo "deb http://apt.postgresql.org/pub/repos/apt ${VERSION_CODENAME}-pgdg main" > /etc/apt/sources.list.d/pgdg.list && \
- wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
-
-RUN export DEBIAN_FRONTEND=noninteractive && \
- apt-get update && apt-get upgrade -y && \
- apt-get install -y \
- libapr1-dev \
- libaprutil1-dev \
- libpq-dev \
- libsvn-dev \
- libsystemd-dev \
- memcached \
- postgresql-client-12 \
- wait-for-it \
- ngrep \
- rsync && \
- apt-get install -y --no-install-recommends \
- r-base-core \
- r-cran-jsonlite && \
- apt-get clean && \
- rm -rf /var/lib/apt/lists/*
-
-RUN useradd -md /srv/softwareheritage -s /bin/bash swh
-
-RUN mkdir /app
-WORKDIR /app
-
-USER swh
-
-RUN python3 -m venv /srv/softwareheritage/venv
-ENV PATH="/srv/softwareheritage/venv/bin:${PATH}"
-
-RUN pip install --upgrade pip setuptools wheel
-RUN pip install flask gunicorn httpie decorator aiohttp_utils blinker
-
-###
-# swh-packages
-FROM swh-base as swh-packages
-
-# Install command line
-# RUN pip install swh-core
-
-# Install requirements.txt only if there is any changes
-
-# COPY swh-model/requirements.txt /app/requirements-model.txt
-# COPY swh-core/requirements.txt /app/requirements-core.txt
-# COPY swh-journal/requirements.txt /app/requirements-journal.txt
-
-# RUN cat /app/requirements-*.txt > /tmp/requirements.txt && pip install -r /tmp/requirements.txt
- # && rm /srv/requirements*
-
-# Copy source code
-COPY --chown=swh:swh swh-model /app/swh-model
-COPY --chown=swh:swh swh-core /app/swh-core
-COPY --chown=swh:swh swh-journal /app/swh-journal
-
-RUN pip install swh-model && pip install swh-core && pip install swh-journal
-COPY --chown=swh:swh docker/utils /srv/softwareheritage/utils/
-
-USER root
-RUN rm -rf /app/swh-*
-USER swh
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Jul 4 2025, 6:26 PM (5 w, 2 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3331162
Attached To
rDENV Development environment
Event Timeline
Log In to Comment