Files
kata-containers/tests/Dockerfile/Dockerfile.in
Gabriela Cervantes 34ce361a40 ci: Add obs testing for packaging
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>
2019-12-03 11:27:28 -06:00

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"]