mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-07 08:24:23 +01:00
Because CI build is 1. Slow and in log it is showing because "apt-utils" not installed 2. to avoid CI build to exits with error without having certificate Fixes: #970 Signed-off-by: Pratik Raj <rajpratik71@gmail.com>
13 lines
418 B
Docker
13 lines
418 B
Docker
#
|
|
# Copyright (c) 2019 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
FROM ubuntu:18.04
|
|
|
|
RUN apt-get update
|
|
RUN apt-get --no-install-recommends install -yq apt-utils ca-certificates build-essential mtools libssl-dev pkg-config curl git
|
|
RUN nohup curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
|
RUN echo 'source $HOME/.cargo/env' >> $HOME/.bashrc
|
|
ENV PATH="/root/.cargo/bin:${PATH}"
|