Skip to content

Commit a3a48b4

Browse files
committed
Merge pull request #21 from jmMeessen/springBootDemo_CLI
LGTM, Circle build is only broken due to bad debian mirrors
2 parents 59b7ec7 + 0eb6862 commit a3a48b4

File tree

6 files changed

+27
-4
lines changed

6 files changed

+27
-4
lines changed

DemoNotes.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Demo notes
2+
3+
- download the demo program with `git clone https://github.com/jmMeessen/SpringBootDemo.git demo` while being in data.
4+
5+
- move to demo directory and launch compile with `mvn install`
6+
7+
- launch the demo server with the command `java -jar target/myproject-0.0.1-SNAPSHOT.jar`
8+
9+
- start the X2GO client and launch the web browser. Point it to `http://localhost:8080`. It will display the message "Hello MIX-IT, Happy to be in Lyon"

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ COPY configs/idea.png /opt/idea/idea.png
6666
# Configure things for dockerx user
6767
USER dockerx
6868
COPY configs/lxde-main-panel /home/dockerx/.config/lxpanel/LXDE/panels/panel
69+
COPY configs/settings.xml /home/dockerx/.m2/settings.xml
6970
USER root
7071
COPY configs/idea.desktop /usr/share/applications/idea.desktop
7172
COPY configs/idea.png /opt/idea/idea.png
@@ -77,6 +78,9 @@ RUN cd /opt; wget -O - \
7778

7879
COPY configs/firefox.desktop /usr/share/applications/firefox.desktop
7980

81+
#install GIT
82+
RUN apt-get install -y --no-install-recommends git
83+
8084
RUN chown -R dockerx:dockerx /data \
8185
&& chmod -R 0750 /data
8286

ISSUES.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,7 @@
55
>34b990a3e43a7e7e8a855cfee44ec59692d9362c450df378c283eee50e1c4aac
66
>2015/04/12 12:19:02 Error response from daemon: Cannot start container 34b990a3e43a7e7e8a855cfee44ec59692d9362c450df378c283eee50e1c4aac: Error starting userland proxy: listen tcp 0.0.0.0:22: bind: address already in use
77
8-
[ ] When X11 system starts it gives an error "SSH daemon failed to open the application's public key". Accepting it by clicking on "ok" makes it continue and the mains windows starts ok
8+
[ ] When X11 system starts it gives an error "SSH daemon failed to open the application's public key". Accepting it by clicking on "ok" makes it continue and the mains windows starts ok
9+
10+
[x] GIT n'est plus dans la box. Il était installé implicitement au paravant.
11+

TODO.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717

1818
* [ ] Test docker inside devbox
1919
* [ ] Faire une démo d'un dévelopement (spring boot)
20-
* [ ] depot Github séparé
21-
* [ ] configurer maven
22-
* [ ] faire fonctionner le build maven depuis la ligne de commande
20+
* [x] depot Github séparé
21+
* [x] configurer maven
22+
* [x] faire fonctionner le build maven depuis la ligne de commande
2323
* [ ] faire fonctionner/intégrer ce projet Maven dans Intellij
2424

2525
* [ ] remove docker-bats directory

configs/settings.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<settings>
2+
<localRepository>/data/mavenRepo</localRepository>
3+
</settings>

tests/bats/devbox-comon.bats

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,7 @@ teardown() {
8484
@test "/data folder is writeable by dockerx" {
8585
run_as_user_cmd_in_devbox "dockerx" touch /data/test_file
8686
}
87+
88+
@test "Check GIT presence" {
89+
run_as_user_cmd_in_devbox "dockerx" which git
90+
}

0 commit comments

Comments
 (0)