mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-01 13:34:20 +01:00
git-subtree-dir: tools/packaging git-subtree-mainline:f818b46a41git-subtree-split:1f22d72d5dSigned-off-by: Peng Tao <bergwolf@hyper.sh>
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"]
|