mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-02 22:14:27 +01:00
Building rootfs does not depend on golang, delete intalling golang may save build time. And there is only rust agent now, the code for golang agent should be deleted too. Fixes: #2170 Signed-off-by: bin <bin@hyper.sh>
21 lines
609 B
Docker
21 lines
609 B
Docker
#
|
|
# Copyright (c) 2018 SUSE LLC
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
ARG IMAGE_REGISTRY=docker.io
|
|
#suse: docker image to be used to create a rootfs
|
|
#@OS_VERSION@: Docker image version to build this dockerfile
|
|
FROM ${IMAGE_REGISTRY}/opensuse/leap
|
|
|
|
# This dockerfile needs to provide all the componets need to build a rootfs
|
|
# Install any package need to create a rootfs (package manager, extra tools)
|
|
|
|
COPY install-packages.sh config.sh /
|
|
# RUN commands
|
|
RUN chmod +x /install-packages.sh; /install-packages.sh
|
|
|
|
# This will install the proper packages to build Kata components
|
|
@INSTALL_MUSL@
|
|
@INSTALL_RUST@
|