Skip to content

Commit

Permalink
Update docker files to reflect recent connector sub crate changes/add…
Browse files Browse the repository at this point in the history
…itions

Signed-off-by: Darach Ennis <[email protected]>
  • Loading branch information
darach authored and Licenser committed Jun 24, 2024
1 parent ff81eb7 commit 5763295
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
9 changes: 7 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1.78-bullseye as builder
FROM rust:1.78-bookworm as builder

# Avoid warnings by switching to noninteractive
ENV DEBIAN_FRONTEND=noninteractive
Expand Down Expand Up @@ -31,8 +31,13 @@ COPY tremor-api /app/tremor-api
COPY tremor-influx /app/tremor-influx
COPY tremor-value /app/tremor-value
COPY tremor-config /app/tremor-config
COPY tremor-archive /app/tremor-archive
COPY tremor-connectors /app/tremor-connectors
COPY tremor-connectors-test-helpers /app/tremor-connectors-test-helpers
COPY tremor-connectors-object-storage /app/tremor-connectors-object-storage
COPY tremor-connectors-aws /app/tremor-connectors-aws
COPY tremor-connectors-azure /app/tremor-connectors-azure
COPY tremor-connectors-otel /app/tremor-connectors-otel
COPY tremor-connectors-gcp /app/tremor-connectors-gcp
COPY tremor-system /app/tremor-system
COPY tremor-codec /app/tremor-codec
Expand All @@ -47,7 +52,7 @@ RUN cat /proc/cpuinfo
RUN cargo build --release --all --verbose
RUN strip target/release/tremor

FROM debian:bullseye-slim
FROM debian:bookworm-slim

RUN useradd -ms /bin/bash tremor

Expand Down
9 changes: 7 additions & 2 deletions Dockerfile.native
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1.78-bullseye as builder
FROM rust:1.78-bookworm as builder

# Avoid warnings by switching to noninteractive
ENV DEBIAN_FRONTEND=noninteractive
Expand Down Expand Up @@ -30,8 +30,13 @@ COPY tremor-api ./tremor-api
COPY tremor-influx ./tremor-influx
COPY tremor-value ./tremor-value
COPY tremor-config ./tremor-config
COPY tremor-archive ./tremor-archive
COPY tremor-connectors ./tremor-connectors
COPY tremor-connectors-test-helpers ./tremor-connectors-test-helpers
COPY tremor-connectors-object-storage ./tremor-connectors-object-storage
COPY tremor-connectors-aws ./tremor-connectors-aws
COPY tremor-connectors-azure ./tremor-connectors-azure
COPY tremor-connectors-otel ./tremor-connectors-otel
COPY tremor-connectors-gcp ./tremor-connectors-gcp
COPY tremor-system ./tremor-system
COPY tremor-codec ./tremor-codec
Expand All @@ -42,7 +47,7 @@ COPY tremor-common ./tremor-common

RUN cargo build --release --all

FROM debian:bullseye-slim
FROM debian:bookworm-slim

RUN useradd -ms /bin/bash tremor

Expand Down

0 comments on commit 5763295

Please sign in to comment.