content: # renovate: datasource=github-tags depName=rust lookupName=rust-lang/rust
  ARG RUST_VERSION=1.77.2@sha256:9b233766972136c49578ba77e29f8465452744e10aff2942c06e8ff10efa20b0
  
  FROM rust:$RUST_VERSION
  
  # renovate: datasource=crate depName=diesel_cli versioning=semver
  ARG DIESEL_CLI_VERSION=2.1.1
  
  RUN apt-get update \
      && apt-get install -y postgresql \
      && rm -rf /var/lib/apt/lists/* \
      && cargo install diesel_cli --version $DIESEL_CLI_VERSION --no-default-features --features postgres
  
  WORKDIR /app
  COPY . /app
  
  ENTRYPOINT ["/app/docker_entrypoint.sh"]
  