[wiki-web] Swap WORKDIR
- From: Andrea Veri <averi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [wiki-web] Swap WORKDIR
- Date: Tue, 6 Aug 2019 18:26:57 +0000 (UTC)
commit 5ad861f5574a6ac6ab2d797ffa5f5e4423d9047c
Author: Andrea Veri <averi redhat com>
Date: Tue Aug 6 20:26:57 2019 +0200
Swap WORKDIR
Dockerfile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/Dockerfile b/Dockerfile
index f43ff13..83cf959 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,11 +2,11 @@ FROM centos/httpd-24-centos7
USER root
ENV MOIN_RELEASE=1.9.10
-WORKDIR /srv/http/moin-${MOIN_RELEASE}
+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
&& \
- mkdir moin-${MOIN_RELEASE} && tar xvf moin-${MOIN_RELEASE}.tar.gz -C moin-${MOIN_RELEASE} && rm -f
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
COPY app_data /opt/app-root/src
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]