Skip to content

Commit

Permalink
fix(tracing-server): fix Dockerfile
Browse files Browse the repository at this point in the history
It seems the rust buster image tags don't exist anymore, so this bumps
it up one to bullseye. Also bumps the rust version to 1.81 to match up
with what's in Cargo.toml, because otherwise that part will fail, too.
  • Loading branch information
marcelo-gonzalez committed Oct 4, 2024
1 parent 0aa1343 commit 863bf44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tracing/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM rust:1.80-buster as builder
FROM rust:1.81-bullseye as builder

ADD Cargo.toml /build/Cargo.toml
ADD Cargo.lock /build/Cargo.lock
ADD src /build/src
WORKDIR /build
RUN cargo build --release

FROM debian:buster-slim
FROM debian:bullseye-slim
COPY --from=builder /build/target/release/near-tracing /app/near-tracing
CMD ["/app/near-tracing"]

0 comments on commit 863bf44

Please sign in to comment.