Skip to content

Commit

Permalink
nit: Fix minor dockerfile lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Stepan Kizim committed Oct 14, 2024
1 parent f98aabe commit 8a05385
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:slim-bookworm as builder
FROM rust:slim-bookworm AS builder

# System dependencies
RUN apt-get update && apt-get install -y --no-install-recommends \
Expand Down Expand Up @@ -37,7 +37,7 @@ RUN touch -a -m ./src/main.rs
RUN touch -a -m ./libvalhalla/src/lib.rs
RUN cargo build --release

FROM debian:bookworm-slim as runner
FROM debian:bookworm-slim AS runner
# Runtime dependency for tokio and reqwest
RUN apt-get update && apt-get install -y --no-install-recommends libssl3
COPY --from=builder /usr/src/app/target/release/valhalla-debug /usr/local/bin/valhalla-debug
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.test
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# An isolated environment for tests and sanity checks on CI

FROM rust:slim-bookworm as builder
FROM rust:slim-bookworm AS builder

# Rust tools
RUN rustup component add rustfmt clippy
Expand Down

0 comments on commit 8a05385

Please sign in to comment.