mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-08 05:52:55 +00:00
Similar to how we pin base `debian` images, also pin `python` base images, so we better cache them and have reproducible builds.
8 lines
203 B
Docker
8 lines
203 B
Docker
# use base image rust:1.79
|
|
FROM rust:1.79@sha256:9b2689d6f99ff381f178fa4361db745c8c355faecde73aa5b18b0efa84f03e62
|
|
WORKDIR /source
|
|
|
|
COPY . .
|
|
RUN cargo build
|
|
CMD ["/source/target/debug/rust-neon-example"]
|