mirror of
https://github.com/borgbackup/borg.git
synced 2026-02-19 02:29:19 -05:00
30 lines
633 B
Docker
30 lines
633 B
Docker
ARG BASE_IMAGE=python:3.13
|
|
FROM ${BASE_IMAGE}
|
|
|
|
# Install system dependencies
|
|
# These match the dependencies installed in CI for Linux (Debian/Ubuntu)
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
build-essential \
|
|
pkg-config \
|
|
libssl-dev \
|
|
libacl1-dev \
|
|
libxxhash-dev \
|
|
liblz4-dev \
|
|
libzstd-dev \
|
|
libfuse3-dev \
|
|
fuse3 \
|
|
python3-dev \
|
|
git \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
# Install tox
|
|
RUN pip install tox
|
|
|
|
# Set working directory
|
|
WORKDIR /app
|
|
|
|
# Check that we have the expected python version
|
|
RUN python3 --version
|
|
|
|
# Default command (can be overridden)
|
|
CMD ["tox"]
|