Skip to content
Snippets Groups Projects
Commit f28b8549 authored by David Douard's avatar David Douard
Browse files

Use a SWH_VER argument to make it easier to rebuild the image from that point

idea is be able to easily rebuild the images including latest swh packages
using docker image cache (prevent from having to run "docker build --no-cache").
parent fdca6d00
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,7 @@ RUN mkdir -p /srv/softwareheritage/objects
ENV SWH_CONFIG_FILENAME=/etc/softwareheritage/config.yml
ENV LC_ALL=C.UTF-8
ARG SWH_VER=unknown
RUN export DEBIAN_FRONTEND=noninteractive && \
apt-get update && \
apt-get install -y \
......
......@@ -22,6 +22,7 @@ ENV SWH_CONFIG_FILENAME=/etc/softwareheritage/config.yml
ENV LC_ALL=C.UTF-8
ENV DJANGO_SETTINGS_MODULE=swh.web.settings.production
ARG SWH_VER=unknown
RUN export DEBIAN_FRONTEND=noninteractive && \
apt-get update && \
apt-get install -y --no-install-recommends \
......
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