Initial commit of what's needed up through spring-boot

This commit is contained in:
Linux User committed 2014-05-17 22:36:31 +00:00
1 parent 4122ec9d71
commit 0999faad7a
7 files changed
+65

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
FROM itzg/gvm
MAINTAINER itzg
RUN ["/run", "install", "springboot"]
ADD run /run
ENTRYPOINT ["/run"]
VOLUME ["/home/spring"]
ADD app.groovy /home/spring/app.groovy
EXPOSE 8080
WORKDIR /home/spring
CMD ["run", "app.groovy"]
+9
View File
@@ -0,0 +1,9 @@
@RestController
class ThisWillActuallyRun {
@RequestMapping("/")
String home() {
"Hello World!"
}
}
+5
View File
@@ -0,0 +1,5 @@
#!/bin/bash
. /.gvm/bin/gvm-init.sh
spring $*