uniget-org / tools

Tool definitions for uniget
https://tools.uniget.dev
MIT License
5 stars 3 forks source link

Install alternative container runtimes #77

Open nicholasdille opened 1 year ago

nicholasdille commented 1 year ago
nicholasdille commented 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