Compare commits

..
3 Commits
Author SHA1 Message Date
alvierahman90 f05368443b install adduser package in docker image 2026-10-21 20:45:01 +01:00
alvierahman90 c578aebafe update dependencies 2026-10-21 20:43:49 +01:00
alvierahman90 5d97e9bc1e update to debian trixie 2026-10-21 20:42:28 +01:00
2 changed files with 286 additions and 360 deletions
Generated
+282 -356
View File
File diff suppressed because it is too large Load Diff
+4 -4
View File
@@ -8,8 +8,8 @@
################################################################################
# Create a stage for building the application.
ARG RUST_VERSION=1.89.0
FROM rust:${RUST_VERSION}-slim-bullseye AS build
ARG RUST_VERSION=1.99.0
FROM rust:${RUST_VERSION}-slim-trixie AS build
ARG TARGET=release
ARG APP_NAME
WORKDIR /app
@@ -47,9 +47,9 @@ EOF
# most recent version of that tag when you build your Dockerfile. If
# reproducability is important, consider using a digest
# (e.g., debian@sha256:ac707220fbd7b67fc19b112cee8170b41a9e97f703f588b2cdbbcdcecdd8af57).
FROM debian:bullseye-slim AS final
FROM debian:trixie-slim AS final
RUN apt update && apt install -y libssl-dev openssl ca-certificates curl libsqlite3-dev
RUN apt update && apt install -y libssl-dev openssl ca-certificates curl libsqlite3-dev adduser
# Create a non-privileged user that the app will run under.
# See https://docs.docker.com/develop/develop-images/dockerfile_best-practices/ #user