2023-07-19 11:12:12 +02:00
|
|
|
# Copyright (c) The Bitcoin Core developers
|
|
|
|
# Distributed under the MIT software license, see the accompanying
|
|
|
|
# file COPYING or https://opensource.org/license/mit/.
|
|
|
|
|
2023-07-16 12:01:25 +02:00
|
|
|
# See test/lint/README.md for usage.
|
|
|
|
|
2024-07-22 17:31:39 +02:00
|
|
|
FROM docker.io/debian:bookworm
|
2023-07-16 12:01:25 +02:00
|
|
|
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
ENV LC_ALL=C.UTF-8
|
|
|
|
|
2024-07-22 13:18:31 +02:00
|
|
|
COPY ./ci/retry/retry /ci_retry
|
2023-07-16 12:01:25 +02:00
|
|
|
COPY ./.python-version /.python-version
|
2023-07-19 11:12:12 +02:00
|
|
|
COPY ./ci/lint/container-entrypoint.sh /entrypoint.sh
|
2023-07-16 12:01:25 +02:00
|
|
|
COPY ./ci/lint/04_install.sh /install.sh
|
2023-11-13 18:10:55 +01:00
|
|
|
COPY ./test/lint/test_runner /test/lint/test_runner
|
2023-07-16 12:01:25 +02:00
|
|
|
|
|
|
|
RUN /install.sh && \
|
|
|
|
echo 'alias lint="./ci/lint/06_script.sh"' >> ~/.bashrc && \
|
|
|
|
chmod 755 /entrypoint.sh && \
|
|
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
|
|
|
|
|
|
WORKDIR /bitcoin
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|