Skip to content

Commit

Permalink
feat: don't strip binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
crebsy committed Aug 15, 2024
1 parent b7262df commit 8a330ed
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ WORKDIR /app
COPY . .
RUN rustup target add x86_64-unknown-linux-musl
RUN RUSTFLAGS='-C target-cpu=native' cargo build --release --target x86_64-unknown-linux-musl --features jemalloc
RUN strip /app/target/x86_64-unknown-linux-musl/release/rindexer_cli

FROM --platform=linux/amd64 scratch
COPY --from=builder /app/target/x86_64-unknown-linux-musl/release/rindexer_cli /app/rindexer
Expand Down
1 change: 0 additions & 1 deletion bundled.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ RUN apt update && apt install -y libssl-dev pkg-config build-essential
WORKDIR /app
COPY . .
RUN RUSTFLAGS='-C target-cpu=native' cargo build --release --features jemalloc
RUN strip /app/target/release/rindexer_cli

FROM --platform=linux/amd64 node:lts-bookworm as node-builder
RUN apt update && apt install -y ca-certificates
Expand Down

0 comments on commit 8a330ed

Please sign in to comment.