We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8280590 commit 2352300Copy full SHA for 2352300
Dockerfile
@@ -23,14 +23,14 @@ COPY .cargo ./.cargo/
23
RUN mkdir src/ && echo 'fn main() {}' > ./src/main.rs
24
25
# Step 6: Build the project
26
-RUN cargo build --release;
+RUN cargo build --target=aarch64-unknown-linux-gnu --release;
27
28
# Step 7: Clean up and prepare for the final build
29
RUN rm -f target/release/deps/gateway_proxy*
30
COPY ./src ./src
31
32
# Step 8: Final build
33
-RUN cargo build --release; \
+RUN cargo build --target=aarch64-unknown-linux-gnu --release; \
34
fi && \
35
cp target/release/gateway-proxy /gateway-proxy && \
36
strip /gateway-proxy
0 commit comments