File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -25,14 +25,14 @@ COPY .cargo ./.cargo/
25
25
RUN mkdir src/ && echo 'fn main() {}' > ./src/main.rs
26
26
27
27
# 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;
29
29
30
30
# Step 7: Clean up and prepare for the final build
31
31
RUN rm -f target/release/deps/gateway_proxy*
32
32
COPY ./src ./src
33
33
34
34
# 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 && \
36
36
ls -l target/release && \
37
37
cp target/release/gateway-proxy /gateway-proxy && \
38
38
strip /gateway-proxy
You can’t perform that action at this time.
0 commit comments