borgbackup/scripts/Dockerfile.linux-run
Suryansh Pal ba6706395a
Some checks failed
Lint / lint (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / security (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
CI / asan_ubsan (push) Has been cancelled
CI / native_tests (push) Has been cancelled
CI / vm_tests (Haiku, false, haiku, r1beta5) (push) Has been cancelled
CI / vm_tests (NetBSD, false, netbsd, 10.1) (push) Has been cancelled
CI / vm_tests (OmniOS, false, omnios, r151056) (push) Has been cancelled
CI / vm_tests (OpenBSD, false, openbsd, 7.7) (push) Has been cancelled
CI / vm_tests (borg-freebsd-14-x86_64-gh, FreeBSD, true, freebsd, 14.3) (push) Has been cancelled
CI / windows_tests (push) Has been cancelled
use xxhash from PyPI, fixes #6535
2026-03-08 13:06:01 +01:00

28 lines
595 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 \
liblz4-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"]