Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
springboot-maven3-centos
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Thomas MENARD
springboot-maven3-centos
Commits
5464813f
Commit
5464813f
authored
9 years ago
by
Benedikt
Browse files
Options
Downloads
Patches
Plain Diff
Work on documentation
parent
d97b7340
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+15
-21
15 additions, 21 deletions
README.md
with
15 additions
and
21 deletions
README.md
+
15
−
21
View file @
5464813f
...
@@ -7,13 +7,24 @@ of the base image for deploying Spring Boot applications as reproducible Docker
...
@@ -7,13 +7,24 @@ of the base image for deploying Spring Boot applications as reproducible Docker
images. The resulting images can be run either by
[
Docker
](
http://docker.io
)
images. The resulting images can be run either by
[
Docker
](
http://docker.io
)
or using
[
S2I
](
https://github.com/openshift/source-to-image
)
.
or using
[
S2I
](
https://github.com/openshift/source-to-image
)
.
This image is heavily inspired by the awesome
[
openshift/sti-ruby
](
https://github.com/openshift/sti-ruby/
)
,
This image is heavily inspired by the awesome
[
openshift/sti-ruby
](
https://github.com/openshift/sti-ruby/
)
builder images.
builder images.
Installation
Usage
---------------
---------------
------
_TODO_
Publish Image to Docker Hub
To build a simple springboot-sample-app application using standalone S2I and then run the resulting image with Docker execute:
```
$ s2i build git://github.com/codecentric/springboot-sample-app codecentric/springboot-maven3-centos spring-sample-app
$ docker run -p 8080:8080 spring-boot-app
```
**Accessing the application:**
```
$ curl 127.0.0.1:8080
```
Repository organization
Repository organization
------------------------
------------------------
...
@@ -64,23 +75,6 @@ $ docker build -t codecentric/springboot-maven3-centos-candidate .
...
@@ -64,23 +75,6 @@ $ docker build -t codecentric/springboot-maven3-centos-candidate .
After that you can execute
`./test/run`
. You can also use
`make test`
to
After that you can execute
`./test/run`
. You can also use
`make test`
to
automate this.
automate this.
Usage
---------------------
**Building the [spring-boot-example](https://github.com/codecentric/spring-boot-example) Spring Boot application..**
1.
**using standalone [S2I](https://github.com/openshift/source-to-image) and running the resulting image by [Docker](http://docker.io):**
```
$ s2i build git://github.com/codecentric/spring-boot-example codecentric/springboot-maven3-centos spring-boot-app
$ docker run -p 8080:8080 spring-boot-app
```
**Accessing the application:**
```
$ curl 127.0.0.1:8080
```
Copyright
Copyright
--------------------
--------------------
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment