# SPDX-License-Identifier: MulanPSL-2.0+
# Copyright (c) 2020 Huawei Technologies Co., Ltd. All rights reserved.

FROM python:3.9.9

MAINTAINER He Shoucheng <15695901908@163.com>

ENV PIP_SOURCE https://mirrors.huaweicloud.com/repository/pypi/simple/

RUN groupadd -g 1999 committer && useradd -m -u 1090 -g 1999 lkp

COPY merge-package-configs/dist/*.whl .

COPY adapter-transition/*.whl .

COPY requirements.txt .

RUN umask 002 && pip3 install ./*.whl -i ${PIP_SOURCE}

RUN umask 002 && pip3 install -r ./requirements.txt -i ${PIP_SOURCE}
