mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-29 14:59:39 -04:00
Currently, the lint_test_runner is built and installed into the lint CI image. This is problematic, because it triggers a full image build on every change to its source code. Doing a build of the lint test_runner on every run is easier and faster.
24 lines
656 B
Text
24 lines
656 B
Text
# Copyright (c) The Bitcoin Core developers
|
|
# Distributed under the MIT software license, see the accompanying
|
|
# file COPYING or https://opensource.org/license/mit/.
|
|
|
|
# See test/lint/README.md for usage.
|
|
|
|
FROM mirror.gcr.io/ubuntu:24.04
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
ENV LC_ALL=C.UTF-8
|
|
|
|
COPY ./ci/retry/retry /ci_retry
|
|
COPY ./.python-version /.python-version
|
|
COPY ./ci/lint/container-entrypoint.sh /entrypoint.sh
|
|
COPY ./ci/lint/04_install.sh /install.sh
|
|
|
|
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"]
|