Skip to content

Commit

Permalink
Pip install Paste and remove pin from versions cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
olimpiurob committed Mar 19, 2024
1 parent 90e6eb4 commit 06202a2
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 15 deletions.
28 changes: 14 additions & 14 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@ ENV LOCAL_CONVERTERS_HOST=converter
USER root
COPY src/* $ZOPE_HOME/
COPY zope-setup.sh \
debug.sh \
docker-entrypoint.sh \
docker-initialize.py /
debug.sh \
docker-entrypoint.sh \
docker-initialize.py /

RUN echo "deb http://archive.debian.org/debian stretch main" > /etc/apt/sources.list \
&& buildDeps="gcc g++" \
&& runDeps="gosu libjpeg62 libopenjp2-7 libtiff5 libxml2 libxslt1.1 libssl1.1="1.1.0l-1~deb9u1" lynx netcat poppler-utils rsync wv git-core libsasl2-dev python-dev libldap2-dev libssl-dev curl iputils-ping iproute2 vim cron netcat-openbsd sudo procps openssh-client" \
&& apt-get update \
&& apt-get install -y --no-install-recommends $buildDeps \
&& apt-get install -y --no-install-recommends --allow-downgrades $runDeps \
&& echo "zope-www ALL = NOPASSWD: /etc/init.d/cron" > /etc/sudoers \
&& pip install python-ldap==2.4.38 PasteDeploy==2.1.1 pathlib==1.0.1 python-dateutil \
&& cd $ZOPE_HOME && ./install.sh \
&& chown -R 500:500 $ZOPE_HOME \
&& apt-get purge -y --auto-remove $buildDeps \
&& rm -rf /var/lib/apt/lists/*
&& buildDeps="gcc g++" \
&& runDeps="gosu libjpeg62 libopenjp2-7 libtiff5 libxml2 libxslt1.1 libssl1.1="1.1.0l-1~deb9u1" lynx netcat poppler-utils rsync wv git-core libsasl2-dev python-dev libldap2-dev libssl-dev curl iputils-ping iproute2 vim cron netcat-openbsd sudo procps openssh-client" \
&& apt-get update \
&& apt-get install -y --no-install-recommends $buildDeps \
&& apt-get install -y --no-install-recommends --allow-downgrades $runDeps \
&& echo "zope-www ALL = NOPASSWD: /etc/init.d/cron" > /etc/sudoers \
&& pip install python-ldap==2.4.38 PasteDeploy==2.1.1 pathlib==1.0.1 python-dateutil Paste==3.6.1 \
&& cd $ZOPE_HOME && ./install.sh \
&& chown -R 500:500 $ZOPE_HOME \
&& apt-get purge -y --auto-remove $buildDeps \
&& rm -rf /var/lib/apt/lists/*

USER zope-www
1 change: 0 additions & 1 deletion src/versions.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ Beaker = 1.10.0
BeautifulSoup = 3.2.1
DateTime = 4.1.1
MarkupSafe = 1.0
Paste = 3.7.1
PasteDeploy = 2.1.1
Pillow = 4.0.0
Products.BeakerSessionDataManager = 1.1
Expand Down

0 comments on commit 06202a2

Please sign in to comment.