This repository was archived by the owner on May 12, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 9 files changed +12
-8
lines changed
Jenkinsfiles/release_pieline
cloud-hypervisor/docker-build Expand file tree Collapse file tree 9 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 21
21
22
22
- bash : |
23
23
sudo apt-get update -y -qq
24
- sudo apt-get --no-install-recommends install -y git
24
+ sudo apt-get --no-install-recommends install -y apt-utils ca-certificates git
25
25
git config --global user.email "[email protected] "
26
26
git config --global user.name "azure-pipeline"
27
27
displayName: 'Setup'
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ install_go() {
47
47
48
48
install_docker () {
49
49
echo " Installing docker"
50
- sudo -E apt-get --no-install-recommends install -y apt-transport-https ca-certificates software-properties-common
50
+ sudo -E apt-get --no-install-recommends install -y apt-transport-https apt-utils ca-certificates software-properties-common
51
51
curl -sL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
52
52
arch=$( dpkg --print-architecture)
53
53
sudo -E add-apt-repository " deb [arch=${arch} ] https://download.docker.com/linux/ubuntu $( lsb_release -cs) stable"
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ runcmd:
34
34
- sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/katacontainers:/releases:/${ARCH}:/master/xUbuntu_$(lsb_release -rs)/ /' > /etc/apt/sources.list.d/kata-containers.list"
35
35
- {{proxyVars .}} curl -sL http://download.opensuse.org/repositories/home:/katacontainers:/releases:/${ARCH}:/master/xUbuntu_$(lsb_release -rs)/Release.key | sudo apt-key add -
36
36
- sudo -E apt-get update
37
- - sudo -E apt-get --no-install-recommends install -y kata-runtime
37
+ - sudo -E apt-get --no-install-recommends install -y apt-utils ca-certificates kata-runtime
38
38
- {{endTaskCheck .}}
39
39
40
40
...
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ Kata Containers can be installed in any Linux distribution that supports
17
17
[ snapd] ( https://docs.snapcraft.io/installing-snapd ) . For this example, we
18
18
assume Ubuntu as your base distro.
19
19
``` sh
20
- $ sudo apt-get --no-install-recommends install -y snapd snapcraft
20
+ $ sudo apt-get --no-install-recommends install -y apt-utils ca-certificates snapd snapcraft
21
21
```
22
22
23
23
## Install snap
Original file line number Diff line number Diff line change @@ -196,7 +196,7 @@ parts:
196
196
# install podman
197
197
sudo add-apt-repository -y ppa:projectatomic/ppa
198
198
sudo apt-get update
199
- sudo apt-get --no-install-recommends install -y podman
199
+ sudo apt-get --no-install-recommends install -y apt-utils ca-certificates podman
200
200
201
201
# Build and install cni plugings
202
202
echo "Retrieve CNI plugins repository"
@@ -382,7 +382,7 @@ parts:
382
382
done
383
383
384
384
# Only x86_64 supports libpmem
385
- [ "$(uname -m)" = "x86_64" ] && sudo apt-get --no-install-recommends install -y libpmem-dev
385
+ [ "$(uname -m)" = "x86_64" ] && sudo apt-get --no-install-recommends install -y apt-utils ca-certificates libpmem-dev
386
386
387
387
chmod +x ${SNAPCRAFT_STAGE}/scripts/configure-hypervisor.sh
388
388
# static build
Original file line number Diff line number Diff line change 6
6
FROM ubuntu:18.04
7
7
8
8
RUN apt-get update
9
- RUN apt-get --no-install-recommends install -yq build-essential mtools libssl-dev pkg-config curl git
9
+ RUN apt-get --no-install-recommends install -yq apt-utils ca-certificates build-essential mtools libssl-dev pkg-config curl git
10
10
RUN nohup curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
11
11
RUN echo 'source $HOME/.cargo/env' >> $HOME/.bashrc
12
12
ENV PATH="/root/.cargo/bin:${PATH}"
Original file line number Diff line number Diff line change @@ -9,10 +9,12 @@ ARG PREFIX
9
9
WORKDIR /root/qemu-virtiofs
10
10
RUN apt-get update && apt-get upgrade -y
11
11
RUN apt-get --no-install-recommends install -y \
12
+ apt-utils \
12
13
autoconf \
13
14
automake \
14
15
bc \
15
16
bison \
17
+ ca-certificates \
16
18
cpio \
17
19
flex \
18
20
gawk \
Original file line number Diff line number Diff line change @@ -9,10 +9,12 @@ ARG PREFIX
9
9
WORKDIR /root/qemu
10
10
RUN apt-get update && apt-get upgrade -y
11
11
RUN apt-get --no-install-recommends install -y \
12
+ apt-utils \
12
13
autoconf \
13
14
automake \
14
15
bc \
15
16
bison \
17
+ ca-certificates \
16
18
cpio \
17
19
flex \
18
20
gawk \
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ generate_dockerfile() {
50
50
;;
51
51
debian|ubuntu)
52
52
UPDATE=" apt-get -y update"
53
- DEPENDENCIES=" apt-get --no-install-recommends install -y curl git gnupg2 lsb-release sudo"
53
+ DEPENDENCIES=" apt-get --no-install-recommends install -y apt-utils ca-certificates curl git gnupg2 lsb-release sudo"
54
54
;;
55
55
fedora)
56
56
UPDATE=" dnf -y update"
You can’t perform that action at this time.
0 commit comments