This repository has been archived by the owner on Jan 29, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#3 build bitcoin stream processor docker image
- Loading branch information
1 parent
c9a9b26
commit 9a79eab
Showing
3 changed files
with
43 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
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,5 @@ | ||
# decrease size of build context | ||
/.git | ||
/.gradle | ||
/.idea | ||
**/build |
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 @@ | ||
# Build Stage | ||
FROM openjdk:8u131-jdk AS build | ||
COPY ./ /cs | ||
WORKDIR /cs | ||
RUN ./gradlew clean :stream-processing/bitcoin:installDist | ||
|
||
# Container with application | ||
FROM openjdk:8u131-jre-alpine | ||
VOLUME /cyberdata | ||
COPY --from=build /cs/stream-processing/bitcoin/build/install/stream-processing/bitcoin /cyberapp | ||
ENTRYPOINT ["/cyberapp/bin/bitcoin"] |