Skip to content

Commit 8b51d33

Browse files
authored
chore: update
1 parent 2af318e commit 8b51d33

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

.cargo/config.toml

-6
This file was deleted.

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ COPY .cargo ./.cargo/
2525
RUN mkdir src/ && echo 'fn main() {}' > ./src/main.rs
2626

2727
# Step 6: Build the project
28-
RUN cargo build --target=aarch64-unknown-linux-gnu --release;
28+
RUN cargo build --no-default-features --features no-simd --release;
2929

3030
# Step 7: Clean up and prepare for the final build
3131
RUN rm -f target/release/deps/gateway_proxy*
3232
COPY ./src ./src
3333

3434
# Step 8: Final build
35-
RUN cargo build --target=aarch64-unknown-linux-gnu --release && \
35+
RUN cargo build --no-default-features --features no-simd --release && \
3636
ls -l target/release && \
3737
cp target/release/gateway-proxy /gateway-proxy && \
3838
strip /gateway-proxy

0 commit comments

Comments
 (0)