mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-23 16:31:16 +00:00
Dockerfile: untabify
Some parts of Dockerfile are indented with spaces others with tabs. Unify indentation to use spaces. Signed-off-by: Ruslan Mstoi <ruslan.mstoi@intel.com>
This commit is contained in:
parent
268c4ea214
commit
43eed4861f
@ -18,54 +18,54 @@ ENV PATH="$PATH:$CARGO_HOME/bin"
|
|||||||
|
|
||||||
# Install all CI dependencies
|
# Install all CI dependencies
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get -yq upgrade \
|
&& apt-get -yq upgrade \
|
||||||
&& DEBIAN_FRONTEND=noninteractive apt-get install -yq \
|
&& DEBIAN_FRONTEND=noninteractive apt-get install -yq \
|
||||||
build-essential \
|
build-essential \
|
||||||
bc \
|
bc \
|
||||||
curl \
|
curl \
|
||||||
wget \
|
wget \
|
||||||
sudo \
|
sudo \
|
||||||
mtools \
|
mtools \
|
||||||
musl-tools \
|
musl-tools \
|
||||||
libssl-dev \
|
libssl-dev \
|
||||||
pkg-config \
|
pkg-config \
|
||||||
flex \
|
flex \
|
||||||
bison \
|
bison \
|
||||||
libelf-dev \
|
libelf-dev \
|
||||||
qemu-utils \
|
qemu-utils \
|
||||||
libglib2.0-dev \
|
libglib2.0-dev \
|
||||||
libpixman-1-dev \
|
libpixman-1-dev \
|
||||||
libseccomp-dev \
|
libseccomp-dev \
|
||||||
libcap-ng-dev \
|
libcap-ng-dev \
|
||||||
socat \
|
socat \
|
||||||
dosfstools \
|
dosfstools \
|
||||||
cpio \
|
cpio \
|
||||||
python \
|
python \
|
||||||
python3 \
|
python3 \
|
||||||
python3-setuptools \
|
python3-setuptools \
|
||||||
ntfs-3g \
|
ntfs-3g \
|
||||||
openvswitch-switch-dpdk \
|
openvswitch-switch-dpdk \
|
||||||
python3-distutils \
|
python3-distutils \
|
||||||
uuid-dev \
|
uuid-dev \
|
||||||
iperf3 \
|
iperf3 \
|
||||||
zip \
|
zip \
|
||||||
git-core \
|
git-core \
|
||||||
dnsmasq \
|
dnsmasq \
|
||||||
dmsetup \
|
dmsetup \
|
||||||
&& apt-get clean \
|
&& apt-get clean \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
RUN update-alternatives --set ovs-vswitchd /usr/lib/openvswitch-switch-dpdk/ovs-vswitchd-dpdk
|
RUN update-alternatives --set ovs-vswitchd /usr/lib/openvswitch-switch-dpdk/ovs-vswitchd-dpdk
|
||||||
|
|
||||||
RUN if [ "$TARGETARCH" = "amd64" ]; then \
|
RUN if [ "$TARGETARCH" = "amd64" ]; then \
|
||||||
apt-get update \
|
apt-get update \
|
||||||
&& apt-get -yq upgrade \
|
&& apt-get -yq upgrade \
|
||||||
&& DEBIAN_FRONTEND=noninteractive apt-get install -yq gcc-multilib gawk \
|
&& DEBIAN_FRONTEND=noninteractive apt-get install -yq gcc-multilib gawk \
|
||||||
libtool expect gnutls-dev gnutls-bin libfuse-dev \
|
libtool expect gnutls-dev gnutls-bin libfuse-dev \
|
||||||
libjson-glib-dev libgmp-dev libtasn1-dev python3-twisted \
|
libjson-glib-dev libgmp-dev libtasn1-dev python3-twisted \
|
||||||
net-tools softhsm2 \
|
net-tools softhsm2 \
|
||||||
&& apt-get clean \
|
&& apt-get clean \
|
||||||
&& rm -rf /var/lib/apt/lists/*; fi
|
&& rm -rf /var/lib/apt/lists/*; fi
|
||||||
|
|
||||||
RUN if [ "$TARGETARCH" = "arm64" ]; then \
|
RUN if [ "$TARGETARCH" = "arm64" ]; then \
|
||||||
# On AArch64, `setcap` binary should be installed via `libcap2-bin`.
|
# On AArch64, `setcap` binary should be installed via `libcap2-bin`.
|
||||||
@ -84,7 +84,7 @@ RUN if [ "$TARGETARCH" = "arm64" ]; then \
|
|||||||
perl \
|
perl \
|
||||||
texinfo \
|
texinfo \
|
||||||
&& apt-get clean \
|
&& apt-get clean \
|
||||||
&& rm -rf /var/lib/apt/lists/*; fi
|
&& rm -rf /var/lib/apt/lists/*; fi
|
||||||
|
|
||||||
# Fix the libssl-dev install
|
# Fix the libssl-dev install
|
||||||
RUN export ARCH="$(uname -m)" \
|
RUN export ARCH="$(uname -m)" \
|
||||||
|
Loading…
Reference in New Issue
Block a user