mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-28 03:24:24 +01:00
This will test that is possible to install the obs packages in different distributions. Fixes #621 Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
20 lines
407 B
Docker
20 lines
407 B
Docker
# Copyright (c) 2019 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# Usage: FROM [image name]
|
|
FROM @OS_DISTRIBUTION@
|
|
|
|
ARG TEST_REPO="https://github.com/kata-containers/tests"
|
|
|
|
RUN @UPDATE@
|
|
|
|
RUN @DEPENDENCIES@
|
|
|
|
# Install packages
|
|
RUN cd "/home/" && git clone "${TEST_REPO}"
|
|
RUN cd "/home/tests" && ./cmd/kata-manager/kata-manager.sh install-packages
|
|
RUN kata-runtime kata-env
|
|
|
|
CMD ["/bin/bash"]
|