Skip to content

Commit

Permalink
update cargo command
Browse files Browse the repository at this point in the history
Co-authored-by: Pim <[email protected]>
  • Loading branch information
master-hax and pimlie committed Nov 21, 2024
1 parent 8d3afc7 commit 25b527e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ WORKDIR /redlib
# download (most) dependencies in their own layer
COPY Cargo.lock Cargo.toml ./
RUN mkdir src && echo "fn main() { panic!(\"why am i running?\") }" > src/main.rs
RUN cargo build --release --locked --bin redlib
RUN cargo build --release --locked
RUN rm ./src/main.rs && rmdir ./src

# copy the source and build the redlib binary
Expand Down

0 comments on commit 25b527e

Please sign in to comment.