This repository has been archived by the owner on Dec 20, 2018. It is now read-only.
-
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
f7cf9ca
commit e99ac83
Showing
3 changed files
with
26 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
sudo: required | ||
language: bash | ||
services: | ||
- docker | ||
|
||
env: | ||
global: | ||
- IMG=biggis/streampipes-senseboxadapter:0.1.0 | ||
|
||
install: | ||
#login to dockerhub | ||
- docker login --email=$DOCKER_HUB_EMAIL --username=$DOCKER_HUB_USERNAME --password=$DOCKER_HUB_PASSWORD | ||
|
||
script: | ||
#build the images | ||
- docker build --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` --build-arg VCS_REF=`git rev-parse --short HEAD` -t $IMG . | ||
|
||
after_success: | ||
- echo "build successful" | ||
#push the image to dockerhub | ||
- docker push $IMG |
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,8 +1,7 @@ | ||
FROM anapsix/alpine-java | ||
|
||
EXPOSE 8088 | ||
EXPOSE 61616 | ||
EXPOSE 8085 | ||
|
||
ADD .target/templates-source-0.41.0-SNAPSHOT.jar /templates-sources.jar | ||
ADD .target/biggisstreampipes-senseboxadapter-0.1.jar /biggisstreampipes-senseboxadapter.jar | ||
|
||
ENTRYPOINT ["java", "-jar", "/templates-sources.jar"] | ||
ENTRYPOINT ["java", "-jar", "/biggisstreampipes-senseboxadapter.jar"] |
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