]> git.proxmox.com Git - mirror_linux-firmware.git/commitdiff
Add Dockerfile used to build CI image
authorMario Limonciello <mario.limonciello@amd.com>
Thu, 31 Aug 2023 01:24:11 +0000 (20:24 -0500)
committerMario Limonciello <mario.limonciello@amd.com>
Thu, 31 Aug 2023 03:58:36 +0000 (22:58 -0500)
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Dockerfile [new file with mode: 0644]
check_whence.py

diff --git a/Dockerfile b/Dockerfile
new file mode 100644 (file)
index 0000000..9350dc7
--- /dev/null
@@ -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
index 884e8d0c89cf8d08b7affb0fbd777e34f9135339..59a7199086a6dfb819d00e994aae7a5d6e0cb9ce 100755 (executable)
@@ -81,6 +81,7 @@ def main():
             "README.md",
             "copy-firmware.sh",
             "WHENCE",
+            "Dockerfile",
         ]
     )
     known_prefixes = set(name for name in whence_list if name.endswith("/"))