mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-28 02:34:46 +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>
43 lines
866 B
Docker
43 lines
866 B
Docker
#
|
|
# Copyright (c) 2018 Yash Jain
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#ubuntu: docker image to be used to create a rootfs
|
|
#@OS_VERSION@: Docker image version to build this dockerfile
|
|
from docker.io/ubuntu:@OS_VERSION@
|
|
|
|
# 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)
|
|
|
|
# RUN commands
|
|
RUN apt-get update && apt-get install -y \
|
|
autoconf \
|
|
automake \
|
|
binutils \
|
|
build-essential \
|
|
chrony \
|
|
cmake \
|
|
coreutils \
|
|
curl \
|
|
debianutils \
|
|
debootstrap \
|
|
g++ \
|
|
gcc \
|
|
git \
|
|
libc6-dev \
|
|
libstdc++-8-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@
|