mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-29 11:14:31 +01:00
Let's bump the td-shim to its `v0.2.0` release. Together with the bump, let's also adapt its build scripts so we're able to build the `v0.2.0` as part of our infra. Fixes: #5593 Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
26 lines
653 B
Docker
26 lines
653 B
Docker
# Copyright (c) 2022 Intel
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
FROM ubuntu:20.04
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
|
ARG RUST_TOOLCHAIN
|
|
|
|
RUN apt-get update && \
|
|
apt-get install -y --no-install-recommends \
|
|
ca-certificates \
|
|
clang \
|
|
curl \
|
|
gcc \
|
|
git \
|
|
llvm \
|
|
make \
|
|
nasm \
|
|
patch && \
|
|
apt-get clean && rm -rf /var/lib/lists/ && \
|
|
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain ${RUST_TOOLCHAIN} && \
|
|
source "$HOME/.cargo/env" && \
|
|
rustup component add rust-src && \
|
|
cargo install cargo-xbuild
|