mirror of
https://github.com/healthchecks/healthchecks.git
synced 2025-04-08 06:30:05 +00:00
Update Dockerfile to use Debian Bookworm as the base
This commit is contained in:
parent
ebcb060ece
commit
6dbd665c67
2 changed files with 4 additions and 5 deletions
|
@ -8,6 +8,7 @@ All notable changes to this project will be documented in this file.
|
|||
- Make hc.lib.emails raise exceptions when EMAIL_ settings are not set
|
||||
- Decouple check's name from slug, allow users to set hand-picked slugs
|
||||
- Add /api/v3/ (adds ability to specify slug when creating or updating checks)
|
||||
- Update Dockerfile to use Debian Bookworm as the base
|
||||
|
||||
## v2.9.2 - 2023-06-05
|
||||
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
FROM python:3.11-slim-bullseye as builder
|
||||
FROM python:3.11-slim-bookworm as builder
|
||||
|
||||
COPY requirements.txt /tmp
|
||||
RUN apt update && apt install -y build-essential curl git libpq-dev libmariadb-dev libffi-dev libssl-dev libcurl4-openssl-dev libpython3-dev pkg-config
|
||||
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||
ENV PATH="${PATH}:/root/.cargo/bin"
|
||||
RUN apt update && apt install -y build-essential git libpq-dev libmariadb-dev libffi-dev libssl-dev libcurl4-openssl-dev libpython3-dev rustc
|
||||
ENV CARGO_NET_GIT_FETCH_WITH_CLI true
|
||||
RUN \
|
||||
pip install --upgrade pip && \
|
||||
|
@ -12,7 +10,7 @@ RUN \
|
|||
COPY . /opt/healthchecks/
|
||||
RUN rm -rf /opt/healthchecks/.git
|
||||
|
||||
FROM python:3.11-slim-bullseye
|
||||
FROM python:3.11-slim-bookworm
|
||||
|
||||
RUN useradd --system hc
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
|
|
Loading…
Add table
Reference in a new issue