Skip to content

Commit 5265231

Browse files
committed
Fix arun-gupta#10 - Add JBDS to Instructor http server
1 parent 995e04a commit 5265231

4 files changed

Lines changed: 8 additions & 3 deletions

File tree

instructor/dockerfiles/lab-httpd-server/Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@ RUN mkdir -p /var/www/html/downloads
1212
#Change Workdir to apache dir
1313
WORKDIR /var/www/html/downloads
1414

15-
#Get Boot2docker 1.5
16-
RUN wget https://github.com/boot2docker/boot2docker/releases/download/v1.6.1/boot2docker.iso
15+
#Place JBDS inside the image
16+
ADD downloads/jboss-devstudio-8.1.0.GA-installer-standalone.jar /var/www/html/downloads/
1717

18+
#Get Boot2docker 1.6.1
19+
RUN wget https://github.com/boot2docker/boot2docker/releases/download/v1.6.1/boot2docker.iso
1820

1921
#Get VirtualBox for MAC
2022
RUN wget http://download.virtualbox.org/virtualbox/4.3.26/VirtualBox-4.3.26-98988-OSX.dmg
@@ -42,7 +44,7 @@ RUN wget http://apache.mirrors.ionfish.org/maven/maven-3/3.3.3/binaries/apache-m
4244
RUN wget http://apache.mirrors.ionfish.org/maven/maven-3/3.3.3/binaries/apache-maven-3.3.3-bin.tar.gz
4345

4446
#Add other files to downloads
45-
ADD lab-settings.xml /var/www/html/downloads/
47+
ADD downloads/lab-settings.xml /var/www/html/downloads/
4648

4749

4850
EXPOSE 80
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
jboss-devstudio-8.1.0.GA-installer-standalone.jar

instructor/dockerfiles/lab-httpd-server/lab-settings.xml renamed to instructor/dockerfiles/lab-httpd-server/downloads/lab-settings.xml

File renamed without changes.

instructor/readme.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@ docker run --name="nexusdata" -v $(pwd):/backup sonatype/nexus:oss bash -c "tar
116116
----
117117

118118
## Start the Instructor environment
119+
Download link:https://www.jboss.org/download-manager/content/origin/files/sha256/0e/0e3e78a641196d21742730f23a6e1c9aa04e0596c16349e74dbd4ea2d1109d40/jboss-devstudio-8.1.0.GA-installer-standalone.jar[JBDS 8.10.GA - 567 MB] and place it inside *dockerfiles/lab-httpd-server/downloads* folder.
120+
119121
Use the following compose command to startup the complete environment at once.
120122
_Note: This command should take some time to execute_
121123

0 commit comments

Comments
 (0)