[wiki-web] Use pip instead
- From: Andrea Veri <averi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [wiki-web] Use pip instead
- Date: Tue, 6 Aug 2019 19:19:32 +0000 (UTC)
commit 0409927e545c10e59cbda6b719c219b3108cb279
Author: Andrea Veri <averi redhat com>
Date: Tue Aug 6 21:19:32 2019 +0200
Use pip instead
Dockerfile | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/Dockerfile b/Dockerfile
index 83cf959..80c293a 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -4,10 +4,8 @@ USER root
ENV MOIN_RELEASE=1.9.10
WORKDIR /srv/http
-RUN yum install python27-mod_wsgi wget -y
-RUN wget https://github.com/moinwiki/moin-1.9/releases/download/${MOIN_RELEASE}/moin-${MOIN_RELEASE}.tar.gz
&& \
- tar xvf moin-${MOIN_RELEASE}.tar.gz && rm -f moin-${MOIN_RELEASE}.tar.gz && \
- ln -s /srv/http/moin-${MOIN_RELEASE} /srv/http/moin
+RUN yum install python27-mod_wsgi wget python2-pip -y
+RUN pip install moin==${MOIN_RELEASE}
COPY app_data /opt/app-root/src
COPY git-pull.sh /usr/local/bin/git-pull.sh
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]