mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-18 22:04:22 +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>
40 lines
642 B
Docker
40 lines
642 B
Docker
#
|
|
# Copyright (c) 2018 SUSE
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# NOTE: OS_VERSION is set according to config.sh
|
|
from docker.io/debian:@OS_VERSION@
|
|
|
|
# RUN commands
|
|
RUN apt-get update && apt-get install -y \
|
|
autoconf \
|
|
automake \
|
|
binutils \
|
|
build-essential \
|
|
chrony \
|
|
cmake \
|
|
coreutils \
|
|
curl \
|
|
debianutils \
|
|
debootstrap \
|
|
g++ \
|
|
gcc \
|
|
git \
|
|
libc-dev \
|
|
libstdc++-6-dev \
|
|
m4 \
|
|
make \
|
|
musl \
|
|
musl-dev \
|
|
musl-tools \
|
|
sed \
|
|
systemd \
|
|
tar \
|
|
vim \
|
|
wget
|
|
|
|
# This will install the proper golang to build Kata components
|
|
@INSTALL_GO@
|
|
@INSTALL_RUST@
|