mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-27 10:14:27 +01:00
Build rust agent and go agent using the same rootfs bulder image. When building rust agent, just add RUST_AGENT=yes before command line. The documentation will be updated later Depends-on: github.com/kata-containers/tests#2287 Fixes: #360 Signed-off-by: Yang Bo <bo@hyper.sh>
39 lines
680 B
Docker
39 lines
680 B
Docker
#
|
|
# Copyright (c) 2019 SUSE LLC
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
from opensuse/tumbleweed
|
|
|
|
RUN zypper --non-interactive refresh; \
|
|
zypper --non-interactive install --no-recommends --force-resolution \
|
|
autoconf \
|
|
automake \
|
|
binutils \
|
|
cmake \
|
|
coreutils \
|
|
cpio \
|
|
curl \
|
|
dracut \
|
|
gcc \
|
|
gcc-c++ \
|
|
git-core \
|
|
glibc-devel \
|
|
glibc-devel-static \
|
|
glibc-utils \
|
|
libstdc++-devel \
|
|
linux-glibc-devel \
|
|
m4 \
|
|
make \
|
|
sed \
|
|
tar \
|
|
vim \
|
|
which; \
|
|
zypper --non-interactive clean --all;
|
|
|
|
|
|
# This will install the proper golang to build Kata components
|
|
@INSTALL_MUSL@
|
|
@INSTALL_GO@
|
|
@INSTALL_RUST@
|