Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9123162
D7260.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
D7260.diff
View Options
diff --git a/docker/Dockerfile b/docker/Dockerfile
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -23,6 +23,9 @@
> /etc/apt/sources.list.d/yarnpkg.list && \
curl -fsSL ${YARN_GPG_KEY} | gpg --dearmor > ${YARN_KEYRING}
+# warning: the py:3.7 image comes with python3.9 installed from debian; do not
+# add debian python packages here, they would not be usable for the py37 based
+# environment used in this image.
RUN export DEBIAN_FRONTEND=noninteractive && \
apt-get update && apt-get upgrade -y && \
apt-get install -y \
@@ -50,16 +53,16 @@
apt-get clean && \
rm -rf /var/lib/apt/lists/*
-
RUN useradd -md /srv/softwareheritage -s /bin/bash swh
USER swh
RUN python3 -m venv /srv/softwareheritage/venv
ENV PATH="/srv/softwareheritage/venv/bin:${PATH}"
-# Avoid 21.3 release which is preventing override to work
-# https://github.com/pypa/pip/issues/10573
-RUN pip install --upgrade 'pip!=21.3' setuptools wheel
+
+RUN pip install --upgrade pip setuptools wheel
RUN pip install gunicorn httpie
+# cython and configjob are required to install the breeze (bzr) package
+RUN pip install cython configobj
RUN pip install \
swh-core[db,http] \
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jun 20, 5:07 PM (2 w, 16 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3228116
Attached To
D7260: docker: Install cython and configobj in the venv
Event Timeline
Log In to Comment