Open nicholasdille opened 1 year ago
FROM ubuntu:22.04 AS prepare RUN apt-get update \ && apt-get -y install --no-install-recommends \ git \ ca-certificates \ build-essential \ golang-go \ cargo \ make
FROM prepare AS source ARG version=2.4.0 WORKDIR /kata-containers RUN git clone -q --config advice.detachedHead=false --depth 1 --branch "${version}" https://github.com/kata-containers/kata-containers .
FROM source AS build RUN make PREFIX=/target
[ ] kata-containers (https://github.com/kata-containers/kata-containers/releases/download/2.4.3/kata-static-2.4.3-x86_64.tar.xz)
[x] gvisor
[ ] sysbox (https://github.com/nestybox/sysbox/blob/master/docs/developers-guide/build.md)