File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -25,13 +25,13 @@ docker run --name "artifactorydata" -v /opt/artifactory/data -v /opt/artifactory
2525If you need to upgrade or setup, you probably want to log to the image and update the configuration you will simply to this :
2626
2727```
28- docker run -ti -p 8081:8081 --volumes-from artifactorydata codingtony/artifactory bash
28+ docker run --rm -ti --volumes-from artifactorydata codingtony/artifactory bash
2929```
3030
3131## How to use artifactory with the data container
3232
3333```
34- docker run -d -p 8081:8081 --name "artifactory" --volumes-from artifactorydata codingtony/artifactory
34+ docker run -d -p 8081:8081 --name "artifactory" --volumes-from artifactorydata -v /etc/localtime:/etc/localtime:ro -v /etc/sysconfig/clock:/etc/sysconfig/clock:ro codingtony/artifactory
3535```
3636
3737
Original file line number Diff line number Diff line change 44
55RUN apt-get update -qq
66RUN apt-get upgrade -qqy
7- RUN apt-get install -qqy unzip curl git mercurial rpm make
7+ RUN apt-get install -qqy unzip curl git mercurial rpm make graphviz
88ENV JENKINS_HOME /opt/jenkins/data
9- RUN wget --content-disposition http://apache.mirror.nexicom.net /maven/maven-3/3.2 .3/binaries/apache-maven-3.2 .3-bin.tar.gz
10- RUN wget --content-disposition http://mirrors.jenkins-ci.org/war-stable /latest/jenkins.war
11- RUN tar xvzf ~/apache-maven-3.2 .3-bin.tar.gz -C /opt
9+ RUN wget --content-disposition http://apache.mirror.iweb.ca /maven/maven-3/3.3 .3/binaries/apache-maven-3.3 .3-bin.tar.gz
10+ RUN wget --content-disposition http://mirrors.jenkins-ci.org/war/latest/jenkins.war
11+ RUN tar xvzf ~/apache-maven-3.3 .3-bin.tar.gz -C /opt
1212RUN mkdir -p /opt/jenkins/data/
1313RUN mv ~/jenkins.war /opt/jenkins
14- RUN ln -s /opt/apache-maven-3.2 .3 /opt/maven
14+ RUN ln -s /opt/apache-maven-3.3 .3 /opt/maven
1515RUN ln -s /opt/jenkins/data/m2home /root/.m2
1616ADD start.sh /opt/jenkins/start.sh
1717
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ docker run -d -p 5000:5000 --name "rhodecode" --volumes-from rhodecodedata -v /
4444## How to use rhodecode with the data container
4545
4646```
47- docker run -ti --rm -p 5000:5000 --name "rhodecode" - -volumes-from rhodecodedata -v /etc/localtime:/etc/localtime:ro -v /etc/sysconfig/clock:/etc/sysconfig/clock:ro codingtony/rhodecode bash
47+ docker run -ti --rm --volumes-from rhodecodedata -v /etc/localtime:/etc/localtime:ro -v /etc/sysconfig/clock:/etc/sysconfig/clock:ro codingtony/rhodecode bash
4848```
4949
5050
You can’t perform that action at this time.
0 commit comments