-
Notifications
You must be signed in to change notification settings - Fork 1
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
ae9ec83
commit 8dd3d3c
Showing
10 changed files
with
91 additions
and
1,541 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 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 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
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,35 @@ | ||
FROM sbtscala/scala-sbt:eclipse-temurin-jammy-20.0.2_9_1.9.6_2.13.12 | ||
|
||
ARG MASTER_HOST | ||
ARG MASTER_PORT | ||
|
||
ENV MASTER_HOST=${MASTER_HOST} | ||
ENV MASTER_PORT=${MASTER_PORT} | ||
|
||
ENV SBT_OPTS="-Xmx2G -Xss2M" | ||
|
||
RUN mkdir -p /app /data /output | ||
|
||
COPY docker/worker/data /data | ||
|
||
WORKDIR /app | ||
|
||
COPY build.sbt log4j2.properties ./ | ||
COPY core/build.sbt ./core/ | ||
COPY master/build.sbt ./master/ | ||
COPY rpc/build.sbt ./rpc/ | ||
COPY utils/build.sbt ./utils/ | ||
COPY worker/build.sbt ./worker/ | ||
COPY project/build.properties project/plugins.sbt project/scalapb.sbt ./project/ | ||
|
||
RUN sbt --batch compile | ||
|
||
COPY rpc/src/main/protobuf ./rpc/src/main/protobuf | ||
|
||
RUN sbt --batch compile | ||
|
||
COPY . . | ||
|
||
RUN sbt --batch compile | ||
|
||
ENTRYPOINT sbt --batch -v "worker/run ${MASTER_HOST}:${MASTER_PORT} -I /data/input1 /data/input2 -O /output/" |
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,35 @@ | ||
FROM sbtscala/scala-sbt:eclipse-temurin-jammy-20.0.2_9_1.9.6_2.13.12 | ||
|
||
ARG MASTER_HOST | ||
ARG MASTER_PORT | ||
|
||
ENV MASTER_HOST=${MASTER_HOST} | ||
ENV MASTER_PORT=${MASTER_PORT} | ||
|
||
ENV SBT_OPTS="-Xmx2G -Xss2M" | ||
|
||
RUN mkdir -p /app /data /output | ||
|
||
COPY docker/worker/data /data | ||
|
||
WORKDIR /app | ||
|
||
COPY build.sbt log4j2.properties ./ | ||
COPY core/build.sbt ./core/ | ||
COPY master/build.sbt ./master/ | ||
COPY rpc/build.sbt ./rpc/ | ||
COPY utils/build.sbt ./utils/ | ||
COPY worker/build.sbt ./worker/ | ||
COPY project/build.properties project/plugins.sbt project/scalapb.sbt ./project/ | ||
|
||
RUN sbt --batch compile | ||
|
||
COPY rpc/src/main/protobuf ./rpc/src/main/protobuf | ||
|
||
RUN sbt --batch compile | ||
|
||
COPY . . | ||
|
||
RUN sbt --batch compile | ||
|
||
ENTRYPOINT sbt --batch -v "worker/run ${MASTER_HOST}:${MASTER_PORT} -I /data/input1 /data/input2 -O /output/" |