File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ ENV RUST_LOG=info
2525# Copy
2626WORKDIR /usr/src/app
2727COPY Cargo.toml ./
28- COPY Cargo.lock ./
2928COPY .cargo ./.cargo
3029COPY common ./common
3130COPY rustiflow ./rustiflow
@@ -37,7 +36,7 @@ COPY ebpf-ipv6 ./ebpf-ipv6
3736# Build
3837RUN cargo xtask ebpf-ipv4 --release
3938RUN cargo xtask ebpf-ipv6 --release
40- RUN cargo build --release --locked
39+ RUN cargo build --release
4140
4241# Command
4342ENTRYPOINT ["/usr/src/app/target/release/rustiflow" ]
Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ ENV PATH="/root/.cargo/bin:${PATH}"
1818# Copy source code
1919WORKDIR /usr/src/app
2020COPY Cargo.toml ./
21- COPY Cargo.lock ./
2221COPY .cargo ./.cargo
2322COPY common ./common
2423COPY rustiflow ./rustiflow
@@ -30,7 +29,7 @@ COPY ebpf-ipv6 ./ebpf-ipv6
3029# Build the project
3130RUN cargo xtask ebpf-ipv4 --release && \
3231 cargo xtask ebpf-ipv6 --release && \
33- cargo build --release --locked
32+ cargo build --release
3433
3534# Stage 2: Runtime
3635FROM debian:bookworm-slim
You can’t perform that action at this time.
0 commit comments