mirror of
https://github.com/sissbruecker/linkding.git
synced 2026-02-28 06:53:12 +08:00
Docker build improvements
This commit is contained in:
@@ -15,10 +15,7 @@ FROM python:3.13.7-slim-trixie AS build-deps
|
||||
# build-essential pkg-config: build Python packages from source
|
||||
# libpq-dev: build Postgres client from source
|
||||
# libicu-dev libsqlite3-dev: build Sqlite ICU extension
|
||||
# llibffi-dev libssl-dev curl rustup: build Python cryptography from source
|
||||
RUN apt-get update && apt-get -y install build-essential pkg-config libpq-dev libicu-dev libsqlite3-dev wget unzip libffi-dev libssl-dev curl
|
||||
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
|
||||
ENV PATH="/root/.cargo/bin:${PATH}"
|
||||
RUN apt-get update && apt-get -y install build-essential pkg-config libpq-dev libicu-dev libsqlite3-dev libffi-dev wget unzip
|
||||
WORKDIR /etc/linkding
|
||||
# install uv, use installer script for now as distroless images are not availabe for armv7
|
||||
ADD https://astral.sh/uv/0.8.13/install.sh /uv-installer.sh
|
||||
|
||||
Reference in New Issue
Block a user