mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-10-21 20:08:54 +00:00
Let's ensure we're building virtiofsd with a specific toolchain that's known to not cause any issues, instead of always using the latest one. On each bump of the virtiofsd, we'll make sure to adjust this according to what's been used by the virtiofsd community. Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
18 lines
424 B
Docker
18 lines
424 B
Docker
# Copyright (c) 2022 Intel
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
FROM alpine:3.16.2
|
|
ARG RUST_TOOLCHAIN
|
|
|
|
SHELL ["/bin/ash", "-o", "pipefail", "-c"]
|
|
RUN apk --no-cache add \
|
|
bash \
|
|
curl \
|
|
gcc \
|
|
git \
|
|
libcap-ng-static \
|
|
libseccomp-static \
|
|
musl-dev && \
|
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain ${RUST_TOOLCHAIN}
|