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

FROM dag-base

MAINTAINER He Shoucheng <15695901908@163.com>

ENV DAG_WORKDIR /opt/cbs/src/dag

COPY cbs /opt/cbs
COPY lkp-tests /opt/lkp-tests

WORKDIR $DAG_WORKDIR

RUN dnf remove gdb cpp rpcgen cpp -y

EXPOSE 20036

ENTRYPOINT ["./entrypoint.sh"]
