Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 1 | # SPDX-FileCopyrightText: Andrei Gherzan <andrei.gherzan@huawei.com> |
2 | # | ||||
3 | # SPDX-License-Identifier: MIT | ||||
4 | |||||
5 | FROM christophebedard/dco-check:latest | ||||
6 | |||||
7 | # Run under normal user called 'ci' | ||||
8 | RUN useradd --create-home --uid 1000 --shell /usr/bin/bash ci | ||||
9 | USER ci | ||||
10 | |||||
11 | COPY ./dco-check/entrypoint.sh / | ||||
12 | COPY ./utils.sh / | ||||
13 | ENTRYPOINT ["/entrypoint.sh"] |