deb-mock-linter (latest)

Published 2025-08-04 03:09:33 +00:00 by robojerk

Installation

docker pull git.raines.xyz/robojerk/deb-mock-linter:latest
sha256:c8ccb7e51a5803008163f3599d99cb178ac28724ed6308befd9bbd4343b9bed2

Image layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.ref.name=ubuntu
LABEL org.opencontainers.image.version=24.04
ADD file:0ebb3dd98809cffc1b5ade76d8ccac01def087e7d7a84a84a33db4aa9090ac67 in /
CMD ["/bin/bash"]
ENV DEBIAN_FRONTEND=noninteractive
RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends yamllint shellcheck lintian devscripts python3.12 python3.12-venv python3-pip nodejs npm build-essential && rm -rf /var/lib/apt/lists/* # buildkit
RUN /bin/sh -c npm install -g markdownlint-cli # buildkit
ENV VIRTUAL_ENV=/opt/venv
ENV PATH=/opt/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
RUN /bin/sh -c python3.12 -m venv $VIRTUAL_ENV # buildkit
RUN /bin/sh -c pip install --upgrade pip && pip install flake8 black isort bandit # buildkit
WORKDIR /app
CMD ["/bin/bash" "-c" "echo 'To run linting commands, use the virtual environment with the full path like this:' && echo 'docker run --rm -v $(pwd):/app <image-name> /bin/bash -c \"source /opt/venv/bin/activate && flake8 .\"' && echo 'Or simply run the non-python linters directly:' && echo 'docker run --rm -v $(pwd):/app <image-name> yamllint .forgejo'"]

Labels

Key Value
org.opencontainers.image.ref.name ubuntu
org.opencontainers.image.version 24.04
Details
Container
2025-08-04 03:09:33 +00:00
0
OCI / Docker
linux/amd64
258 MiB
Versions (1) View all
latest 2025-08-04