archiva-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1629101 - /archiva/docker-file/trunk/Dockerfile
Date Fri, 03 Oct 2014 00:34:02 GMT
Author: olamy
Date: Fri Oct  3 00:34:02 2014
New Revision: 1629101

URL: http://svn.apache.org/r1629101
Log:
more fixes

Modified:
    archiva/docker-file/trunk/Dockerfile

Modified: archiva/docker-file/trunk/Dockerfile
URL: http://svn.apache.org/viewvc/archiva/docker-file/trunk/Dockerfile?rev=1629101&r1=1629100&r2=1629101&view=diff
==============================================================================
--- archiva/docker-file/trunk/Dockerfile (original)
+++ archiva/docker-file/trunk/Dockerfile Fri Oct  3 00:34:02 2014
@@ -2,23 +2,17 @@
 # Apache Archiva 2.1.1 Standalone
 #
 
-#FROM debian:jessie
 FROM java:7u65
 
 MAINTAINER Olivier Lamy
 
-#RUN apt-get update && apt-get clean
-#RUN apt-get install -q -y openjdk-7-jre-headless openjdk-7-jdk wget && apt-get clean
-
 RUN apt-get update && apt-get install -y wget && rm -rf /var/lib/apt/lists/*
 
-#ENV JAVA_HOME /usr/lib/jvm/java-7-openjdk-amd64/
-#ENV PATH $JAVA_HOME/bin:$PATH
-
-RUN wget --no-verbose http://archive.apache.org/dist/archiva/2.1.1/binaries/apache-archiva-2.1.1-bin.tar.gz
+RUN wget --no-verbose -O apache-archiva-2.1.1-bin.tar.gz http://archive.apache.org/dist/archiva/2.1.1/binaries/apache-archiva-2.1.1-bin.tar.gz
 
-## RUN echo "18b7124e6f0a2c8f7db8167c6946d762 apache-archiva-2.2.1-bin.tar.gz"
| md5sum -c
-## RUN echo "5a7ddff9d85637cafa1e982a7b313a3ffe8190fa  apache-archiva-2.2.1-bin.tar.gz"
| sha1sum -c
+#TODO fix sha1 md5 check
+#RUN echo "18b7124e6f0a2c8f7db8167c6946d762 apache-archiva-2.2.1-bin.tar.gz" | md5sum -c
+#RUN echo "5a7ddff9d85637cafa1e982a7b313a3ffe8190fa  apache-archiva-2.2.1-bin.tar.gz" | sha1sum
-c
 
 RUN tar --extract --ungzip --file apache-archiva-2.1.1-bin.tar.gz --directory /
 
@@ -27,7 +21,7 @@ WORKDIR /apache-archiva-2.1.1
 
 RUN mkdir /archiva-data
 RUN ln -s /archiva-data /apache-archiva-2.1.1/data
-VOLUME ["/archiva-data"]
+VOLUME /archiva-data
 
 EXPOSE 8080
 CMD bin/archiva console



Mime
View raw message