mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-28 03:42:09 +00:00
move all osbuilder files into `tools` directory to be able to merge this into kata-containers repo. Signed-off-by: Salvador Fuentes <salvador.fuentes@intel.com>
40 lines
828 B
Plaintext
40 lines
828 B
Plaintext
#
|
|
# Copyright (c) 2020 ARM Limited
|
|
#
|
|
# 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 \
|
|
sed \
|
|
systemd \
|
|
tar \
|
|
vim
|
|
# This will install the proper golang to build Kata components
|
|
@INSTALL_GO@
|
|
@INSTALL_MUSL@
|
|
@INSTALL_RUST@
|