summaryrefslogtreecommitdiff
path: root/meta-raspberrypi/.github/workflows/docker-images/dco-check/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'meta-raspberrypi/.github/workflows/docker-images/dco-check/Dockerfile')
-rw-r--r--meta-raspberrypi/.github/workflows/docker-images/dco-check/Dockerfile13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta-raspberrypi/.github/workflows/docker-images/dco-check/Dockerfile b/meta-raspberrypi/.github/workflows/docker-images/dco-check/Dockerfile
new file mode 100644
index 0000000000..89901ae6ed
--- /dev/null
+++ b/meta-raspberrypi/.github/workflows/docker-images/dco-check/Dockerfile
@@ -0,0 +1,13 @@
+# SPDX-FileCopyrightText: Andrei Gherzan <andrei.gherzan@huawei.com>
+#
+# SPDX-License-Identifier: MIT
+
+FROM christophebedard/dco-check:latest
+
+# Run under normal user called 'ci'
+RUN useradd --create-home --uid 1000 --shell /usr/bin/bash ci
+USER ci
+
+COPY ./dco-check/entrypoint.sh /
+COPY ./utils.sh /
+ENTRYPOINT ["/entrypoint.sh"]