Skip to content
Snippets Groups Projects
Commit a1c68266 authored by Nicolas Dandrimont's avatar Nicolas Dandrimont
Browse files

Add some debugging utilities to the swh-objstorage-replayer image

parent e4b00918
No related branches found
Tags swh-objstorage-replayer-20241203.2
No related merge requests found
......@@ -2,6 +2,7 @@ FROM python:3.10-bullseye
RUN apt-get -y update && \
apt-get -y upgrade && \
apt-get -y install gdb strace && \
apt clean && \
addgroup --gid 1000 swh && \
useradd --gid 1000 --uid 1000 -m -d /opt/swh swh && \
......@@ -17,7 +18,7 @@ ENV PATH=/opt/swh/.local/bin:$PATH
RUN /usr/local/bin/python -m pip install --upgrade pip && \
pip install --no-cache-dir -r requirements-frozen.txt && \
pip install gunicorn
pip install memray py-spy
COPY --chown=swh:swh entrypoint.sh /opt/swh
RUN chmod u+x /opt/swh/entrypoint.sh
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment