Skip to content

Commit de781ad

Browse files
author
Eric Price
committed
fix: remove jd_server from Dockerfile since it uses pool_sv2 binary
1 parent ef82f4c commit de781ad

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

docker/Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ COPY miner-apps/translator/Cargo.toml miner-apps/translator/Cargo.toml
3030
RUN echo "Fetching deps for ${APP}" && \
3131
case "$APP" in \
3232
pool_sv2) cargo fetch --manifest-path=pool-apps/pool/Cargo.toml ;; \
33-
jd_server) cargo fetch --manifest-path=pool-apps/jd-server/Cargo.toml ;; \
3433
jd_client_sv2) cargo fetch --manifest-path=miner-apps/jd-client/Cargo.toml ;; \
3534
translator_sv2) cargo fetch --manifest-path=miner-apps/translator/Cargo.toml ;; \
3635
*) echo "Unknown APP: $APP" && exit 1 ;; \
@@ -48,9 +47,8 @@ COPY stratum-apps/ stratum-apps/
4847
RUN echo "Building ${APP}" && \
4948
case "$APP" in \
5049
pool_sv2) cargo build --release --manifest-path pool-apps/pool/Cargo.toml --target-dir ./ ;; \
51-
jd_server) cargo build --release --manifest-path=pool-apps/jd-server/Cargo.toml --target-dir ./ && mv /app/release/jd_server_sv2 /app/release/jd_server ;; \
52-
jd_client_sv2) cargo build --release --manifest-path miner-apps/jd-client/Cargo.toml --target-dir ./ ;; \
53-
translator_sv2) cargo build --release --manifest-path miner-apps/translator/Cargo.toml --target-dir ./ ;; \
50+
jd_client_sv2) cargo build --release --manifest-path=miner-apps/jd-client/Cargo.toml --target-dir ./ ;; \
51+
translator_sv2) cargo build --release --manifest-path=miner-apps/translator/Cargo.toml --target-dir ./ ;; \
5452
*) echo "Unknown APP: $APP" && exit 1 ;; \
5553
esac
5654

0 commit comments

Comments
 (0)