-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update site Docker * add aliyun plugin * fetch lfs file * support jdk 17 * remove lfs
- Loading branch information
1 parent
f2b54c5
commit b274ea1
Showing
126 changed files
with
244 additions
and
218 deletions.
There are no files selected for viewing
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
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
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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# the builder | ||
FROM wedpr-jupyter-image:latest as builder | ||
|
||
LABEL maintainer [email protected] | ||
|
||
WORKDIR / | ||
|
||
ARG SOURCE_BRANCH | ||
ENV DEBIAN_FRONTEND=noninteractive \ | ||
SOURCE=${SOURCE_BRANCH:-main} | ||
|
||
RUN git clone https://github.com/WeBankBlockchain/WeDPR.git -b ${SOURCE} \ | ||
&& cd WeDPR && bash gradlew clean build | ||
|
||
# the wedpr-worker | ||
FROM wedpr-jupyter-image:latest as wedpr-jupyter-worker | ||
LABEL maintainer [email protected] | ||
|
||
RUN mkdir -p /data/app/ | ||
COPY --from=builder /WeDPR/wedpr-worker/dist/ /data/app/wedpr-worker | ||
ENTRYPOINT ["/bin/bash"] | ||
|
||
# the wedpr-pir | ||
FROM wedpr-image:latest as wedpr-pir | ||
LABEL maintainer [email protected] | ||
|
||
RUN mkdir -p /data/app/ | ||
COPY --from=builder /WeDPR/wedpr-pir/dist/ /data/app/wedpr-pir | ||
ENTRYPOINT ["/bin/bash"] | ||
|
||
# the wedpr-site | ||
FROM wedpr-image:latest as wedpr-site | ||
LABEL maintainer [email protected] | ||
|
||
RUN mkdir -p /data/app/ | ||
COPY --from=builder /WeDPR/wedpr-site/dist/ /data/app/wedpr-site | ||
# TODO: fetch the web package from github tag | ||
ENTRYPOINT ["/bin/bash"] |
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,7 +1,7 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
#distributionUrl=https\://mirrors.cloud.tencent.com/gradle/gradle-7.3-bin.zip | ||
distributionUrl=https\://mirrors.cloud.tencent.com/gradle/gradle-6.3-bin.zip | ||
distributionUrl=https\://mirrors.cloud.tencent.com/gradle/gradle-7.3-bin.zip | ||
#distributionUrl=https\://mirrors.cloud.tencent.com/gradle/gradle-6.3-bin.zip | ||
#distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
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 |
---|---|---|
|
@@ -3,5 +3,5 @@ plugins { | |
id 'java' | ||
} | ||
dependencies { | ||
compile project(':wedpr-common-utils') | ||
api project(':wedpr-common-utils') | ||
} |
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
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
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
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
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
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
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
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
Oops, something went wrong.