Osmocom docker containers
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
docker-playground/patchwork/Dockerfile.upstream

42 lines
857 B

FROM debian
# upstream version of patchwork
RUN apt-get update && \
apt-get install -y --no-install-recommends \
ca-certificates \
git \
libjs-jquery \
python3 \
python3-celery \
python3-django \
python3-django-filters \
python3-djangorestframework \
python3-mysqldb \
python3-psycopg2 \
python3-sqlparse \
wget && \
apt-get clean
WORKDIR /opt
ARG VERSION_TAG=2.0.1
RUN wget https://github.com/getpatchwork/patchwork/archive/v$VERSION_TAG.tar.gz && \
tar xzf v$VERSION_TAG.tar.gz && \
mv patchwork-$VERSION_TAG patchwork && \
rm v$VERSION_TAG.tar.gz
WORKDIR /opt/patchwork
COPY production.py patchwork/settings/production.py
COPY docker-entrypoint.sh /docker-entrypoint.sh
RUN mkdir -p /var/www/patchwork
VOLUME /var/www/patchwork
#RUN DJANGO_SECRET_KEY=foo python3 manage.py collectstatic
CMD /docker-entrypoint.sh