Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • ardumont/swh-apps
  • vlorentz/swh-apps
  • swh/infra/swh-apps
  • anlambert/swh-apps
4 results
Show changes
Showing
with 1562 additions and 499 deletions
This diff is collapsed.
swh-loader-metadata
# Needed for the swh.loader.metadata.journal_client
swh-journal
This diff is collapsed.
This diff is collapsed.
swh-loader-core
python-json-logger
This diff is collapsed.
......@@ -5,3 +5,4 @@ swh-loader-git
swh-loader-svn
swh-loader-mercurial
swh-loader-metadata
python-json-logger
This diff is collapsed.
This diff is collapsed.
ARG REGISTRY=container-registry.softwareheritage.org/swh/infra/swh-apps/
ARG base_image=${REGISTRY}base
ARG base_image_version=latest
FROM ${base_image}:${base_image_version}
ARG user=swh
ARG workdir=/opt/${user}
ARG configdir=/etc/${user}
USER root
RUN apt-get update && \
apt-get install -y strace gdb && \
apt-get clean
COPY --chmod=0644 requirements-frozen.txt ${workdir}
RUN --mount=type=cache,target=.cache,uid=1000,gid=1000 \
uv pip sync requirements-frozen.txt
COPY --chmod=0755 entrypoint.sh ${workdir}
USER ${user}
ENV SWH_CONFIG_FILENAME=${configdir}/config.yml
ENV STATSD_PORT=9125
ENV STATSD_HOST=prometheus-statsd-exporter
ENV SWH_EXTRA_CLI_OPTIONS=""
ENTRYPOINT ["/opt/swh/entrypoint.sh"]
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.