Browse Source

Add Dockerfile used to build CI image

Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
main
Mario Limonciello 1 year ago
parent
commit
792115b20c
  1. 10
      Dockerfile
  2. 1
      check_whence.py

10
Dockerfile

@ -0,0 +1,10 @@
# Leverage FDO CI fairy, but add pre-commit to it
FROM quay.io/freedesktop.org/ci-templates:ci-fairy-sha256-eb20531b68e57da06f4e631402fd494869b1529e2c4ad05cfe24ef3fb8038815
RUN apk add python3-dev
RUN apk add gcc
RUN apk add musl-dev
RUN apk add git
RUN apk add npm
RUN apk add rdfind
RUN apk add shellcheck
RUN pip install pre-commit --ignore-installed distlib

1
check_whence.py

@ -81,6 +81,7 @@ def main():
"README.md", "README.md",
"copy-firmware.sh", "copy-firmware.sh",
"WHENCE", "WHENCE",
"Dockerfile",
] ]
) )
known_prefixes = set(name for name in whence_list if name.endswith("/")) known_prefixes = set(name for name in whence_list if name.endswith("/"))

Loading…
Cancel
Save