We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9937193 commit 7994a66Copy full SHA for 7994a66
Dockerfile
@@ -1,9 +1,13 @@
1
-FROM rust:1 AS builder
+FROM rust:1-slim-bookworm AS builder
2
+
3
+RUN apt-get update && \
4
+ apt-get install -y build-essential
5
6
COPY . /app
7
WORKDIR /app
8
RUN cargo build --release
9
-FROM debian:bullseye-slim
10
+FROM debian:bookworm-slim
11
COPY --from=builder /app/target/release/pgcat /usr/bin/pgcat
12
COPY --from=builder /app/pgcat.toml /etc/pgcat/pgcat.toml
13
WORKDIR /etc/pgcat
0 commit comments