lint_imagefile raw

   1  # Copyright (c) The Limenka developers
   2  # Distributed under the MIT software license, see the accompanying
   3  # file COPYING or https://opensource.org/license/mit/.
   4  
   5  # See test/lint/README.md for usage.
   6  
   7  FROM mirror.gcr.io/debian:bookworm
   8  
   9  ENV DEBIAN_FRONTEND=noninteractive
  10  ENV LC_ALL=C.UTF-8
  11  
  12  COPY ./ci/retry/retry /ci_retry
  13  COPY ./.python-version /.python-version
  14  COPY ./ci/lint/container-entrypoint.sh /entrypoint.sh
  15  COPY ./ci/lint/04_install.sh /install.sh
  16  COPY ./test/lint/test_runner /test/lint/test_runner
  17  
  18  RUN /install.sh && \
  19    echo 'alias lint="./ci/lint/06_script.sh"' >> ~/.bashrc && \
  20    chmod 755 /entrypoint.sh && \
  21    rm -rf /var/lib/apt/lists/*
  22  
  23  
  24  WORKDIR /limenka
  25  ENTRYPOINT ["/entrypoint.sh"]
  26