File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11/target
22.env
3- /heathcheck
3+ /healthcheck
44
55
66# ## Linux ###
Original file line number Diff line number Diff line change 1- FROM rust:1.66 .0-buster AS BUILD
1+ FROM rust:1.75 .0-bookworm AS BUILD
22# Install software
33RUN update-ca-certificates && apt-get update && apt-get install -y libsasl2-dev
44# Create appuser
@@ -19,9 +19,9 @@ COPY ./ .
1919RUN cargo build -p chronos_bin --release
2020
2121#
22- # Run image based on buster -slim to reduce image size while still using glibc
22+ # Run image based on bookworm -slim to reduce image size while still using glibc
2323#
24- FROM debian:buster -slim AS RUN
24+ FROM debian:bookworm -slim AS RUN
2525# SASL supports
2626RUN apt-get update && apt-get install -y libsasl2-dev
2727WORKDIR /opt/build
Original file line number Diff line number Diff line change 1- FROM rust:1.66 .0-buster AS BUILD
1+ FROM rust:1.75 .0-bookworm AS BUILD
22# Install software
33RUN update-ca-certificates && apt-get update && apt-get install -y libsasl2-dev
44# Create appuser
@@ -19,9 +19,9 @@ COPY ./ .
1919RUN cargo build -p pg_mig --release
2020
2121#
22- # Run image based on buster -slim to reduce image size while still using glibc
22+ # Run image based on bookworm -slim to reduce image size while still using glibc
2323#
24- FROM debian:buster -slim AS RUN
24+ FROM debian:bookworm -slim AS RUN
2525# SASL supports
2626RUN apt-get update && apt-get install -y libsasl2-dev
2727WORKDIR /opt/build
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ pg.create:
5050# # pg.migrate: 🥁 Run migrations on database
5151pg.migrate :
5252 $(call pp,running migrations on database...)
53- cargo run --package pg_mig --bin chronos-pg-migrations
53+ cargo run --package pg_mig --bin chronos-pg-migrations
5454
5555# TEST / DEPLOY ###################################################################################
5656
8383# # run: 🧪 Runs rust app in release mode
8484run.release :
8585 $(call pp,run app...)
86- cargo run --package chronos_bin -- r --bin chronos
86+ cargo run --package chronos_bin -r --bin chronos
8787
8888
8989# # lint: 🧹 Checks for lint failures on rust
Original file line number Diff line number Diff line change @@ -65,7 +65,6 @@ impl KafkaConsumer {
6565 } ;
6666 }
6767
68- #[ instrument( skip( self ) ) ]
6968 pub ( crate ) async fn kafka_consume_message ( & self ) -> Result < BorrowedMessage , KafkaAdapterError > {
7069 self . consumer . recv ( ) . await . map_err ( KafkaAdapterError :: ReceiveMessage )
7170 }
Original file line number Diff line number Diff line change 11[toolchain ]
2- channel = " stable " # 1.68
2+ channel = " 1.75 "
You can’t perform that action at this time.
0 commit comments