forked from spinnaker/orca
-
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.
Slims container & bumps spinnaker gradle project version (spinnaker#1163
- Loading branch information
Travis Tomsu
authored
Feb 7, 2017
1 parent
0aa61ae
commit 0c77515
Showing
4 changed files
with
25 additions
and
4 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
FROM openjdk:8u111-jre-alpine | ||
|
||
MAINTAINER [email protected] | ||
|
||
COPY ./orca-web/build/install/orca /opt/orca | ||
|
||
RUN apk add --update bash && rm -rf /var/cache/apk/* | ||
|
||
CMD ["/opt/orca/bin/orca"] |
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
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
steps: | ||
- name: 'gcr.io/cloud-builders/git' | ||
args: ['fetch', '--unshallow'] | ||
- name: 'java:8' | ||
env: ["GRADLE_USER_HOME=cache"] | ||
entrypoint: "bash" | ||
args: [ "-c", "./gradlew orca-web:installDist -x test"] | ||
- name: 'gcr.io/cloud-builders/docker' | ||
args: ["build", "-t", "gcr.io/$PROJECT_ID/$REPO_NAME:$COMMIT_SHA", "-f", "Dockerfile.slim", "."] | ||
images: | ||
- 'gcr.io/$PROJECT_ID/$REPO_NAME:$COMMIT_SHA' |