forked from jorgemoralespou/s2i-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8e5ddf8
commit 6727b76
Showing
10 changed files
with
14 additions
and
789 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# springboot-sti | ||
# s2i-java | ||
FROM openshift/base-centos7 | ||
MAINTAINER Jorge Morales <[email protected]> | ||
|
||
|
@@ -30,17 +30,17 @@ ENV PATH=/opt/maven/bin/:/opt/gradle/bin/:$PATH | |
|
||
ENV BUILDER_VERSION 1.0 | ||
|
||
LABEL io.k8s.description="Platform for building Spring Boot applications with maven or gradle" \ | ||
io.k8s.display-name="Spring Boot builder 1.0" \ | ||
LABEL io.k8s.description="Platform for building Java (fatjar) applications with maven or gradle" \ | ||
io.k8s.display-name="Java S2I builder 1.0" \ | ||
io.openshift.expose-services="8080:http" \ | ||
io.openshift.tags="builder,maven-3,gradle-2.6,springboot" | ||
io.openshift.tags="builder,maven-3,gradle-2.6,java,microservices,fatjar" | ||
|
||
# TODO (optional): Copy the builder files into /opt/openshift | ||
# COPY ./<builder_folder>/ /opt/openshift/ | ||
# COPY Additional files,configurations that we want to ship by default, like a default setting.xml | ||
|
||
LABEL io.openshift.s2i.scripts-url=image:///usr/local/sti | ||
COPY ./.sti/bin/ /usr/local/sti | ||
COPY ./sti/bin/ /usr/local/sti | ||
|
||
RUN chown -R 1001:1001 /opt/openshift | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
|
||
IMAGE_NAME = springboot-sti | ||
IMAGE_NAME = s2i-java | ||
|
||
build: | ||
docker build -t $(IMAGE_NAME) . | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.