Skip to content

Commit 3d9fc3a

Browse files
committed
fix(coprocessor): host-listener, docker build, COPY conflict
1 parent 9de1632 commit 3d9fc3a

7 files changed

Lines changed: 21 additions & 0 deletions

File tree

coprocessor/fhevm-engine/coprocessor/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ WORKDIR /app/coprocessor/fhevm-engine
1414
RUN cargo fetch && \
1515
SQLX_OFFLINE=true cargo build --release -p coprocessor
1616

17+
# Avoid a conflict with prod stage
18+
RUN rm -rf /lib/apk
19+
1720
# Stage 3: Runtime image
1821
FROM cgr.dev/chainguard/glibc-dynamic:latest AS prod
1922

coprocessor/fhevm-engine/db-migration/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ RUN mkdir /fhevm-keys && \
2323
cargo fetch && \
2424
SQLX_OFFLINE=true cargo build --release -p coprocessor --bin utils
2525

26+
# Avoid a conflict with prod stage
27+
RUN rm -rf /lib/apk
28+
2629
# Stage 2: Runtime image
2730
FROM cgr.dev/chainguard/glibc-dynamic:latest AS prod
2831

coprocessor/fhevm-engine/fhevm-listener/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ WORKDIR /app/coprocessor/fhevm-engine
3030
RUN cargo fetch && \
3131
SQLX_OFFLINE=true cargo build --release -p fhevm-listener
3232

33+
# Avoid a conflict with prod stage
34+
RUN rm -rf /lib/apk
35+
3336
# Stage 3: Runtime image
3437
FROM cgr.dev/chainguard/glibc-dynamic:latest AS prod
3538

coprocessor/fhevm-engine/gw-listener/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ WORKDIR /app/coprocessor/fhevm-engine
1313
RUN cargo fetch && \
1414
SQLX_OFFLINE=true cargo build --release -p gw-listener
1515

16+
# Avoid a conflict with prod stage
17+
RUN rm -rf /lib/apk
18+
1619
# Stage 3: Runtime image
1720
FROM cgr.dev/chainguard/glibc-dynamic:latest AS prod
1821

coprocessor/fhevm-engine/sns-executor/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ WORKDIR /app/coprocessor/fhevm-engine
1414
RUN cargo fetch && \
1515
SQLX_OFFLINE=true cargo build --release -p sns-executor
1616

17+
# Avoid a conflict with prod stage
18+
RUN rm -rf /lib/apk
19+
1720
# Stage 2: Runtime image
1821
FROM cgr.dev/chainguard/glibc-dynamic:latest AS prod
1922

coprocessor/fhevm-engine/transaction-sender/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ WORKDIR /app/coprocessor/fhevm-engine
1414
RUN cargo fetch && \
1515
SQLX_OFFLINE=true cargo build --release -p transaction-sender
1616

17+
# Avoid a conflict with prod stage
18+
RUN rm -rf /lib/apk
19+
1720
# Stage 3: Runtime image
1821
FROM cgr.dev/chainguard/glibc-dynamic:latest AS prod
1922

coprocessor/fhevm-engine/zkproof-worker/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ WORKDIR /app/coprocessor/fhevm-engine
1414
RUN cargo fetch && \
1515
SQLX_OFFLINE=true cargo build --release -p zkproof-worker
1616

17+
# Avoid a conflict with prod stage
18+
RUN rm -rf /lib/apk
19+
1720
# Stage 2: Runtime image
1821
FROM cgr.dev/chainguard/glibc-dynamic:latest AS prod
1922

0 commit comments

Comments
 (0)