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