mirror of
https://github.com/Dadoum/anisette-v3-server.git
synced 2024-11-24 20:06:07 +00:00
Use a stable debian image in the container
This commit is contained in:
parent
5fee572c0c
commit
cfc61a1260
@ -1,5 +1,5 @@
|
|||||||
# Base for builder
|
# Base for builder
|
||||||
FROM debian:unstable-slim AS builder
|
FROM debian:bookworm-slim AS builder
|
||||||
# Deps for builder
|
# Deps for builder
|
||||||
RUN apt-get update && apt-get install --no-install-recommends -y ca-certificates ldc git clang dub libz-dev libssl-dev \
|
RUN apt-get update && apt-get install --no-install-recommends -y ca-certificates ldc git clang dub libz-dev libssl-dev \
|
||||||
&& apt-get clean \
|
&& apt-get clean \
|
||||||
@ -11,7 +11,7 @@ COPY . .
|
|||||||
RUN DC=ldc2 dub build -c "static" --build-mode allAtOnce -b release --compiler=ldc2
|
RUN DC=ldc2 dub build -c "static" --build-mode allAtOnce -b release --compiler=ldc2
|
||||||
|
|
||||||
# Base for run
|
# Base for run
|
||||||
FROM debian:unstable-slim
|
FROM debian:bookworm-slim
|
||||||
RUN apt-get update && apt-get install --no-install-recommends -y ca-certificates curl \
|
RUN apt-get update && apt-get install --no-install-recommends -y ca-certificates curl \
|
||||||
&& apt-get clean \
|
&& apt-get clean \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
Loading…
Reference in New Issue
Block a user