mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Dockerfile: sort packages alphabetically
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit ee0ef6c535
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
cb813faebf
commit
ddfeaf32ff
1 changed files with 17 additions and 17 deletions
34
Dockerfile
34
Dockerfile
|
@ -40,13 +40,13 @@ FROM base AS criu
|
||||||
ARG DEBIAN_FRONTEND
|
ARG DEBIAN_FRONTEND
|
||||||
# Install dependency packages specific to criu
|
# Install dependency packages specific to criu
|
||||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||||
|
libcap-dev \
|
||||||
libnet-dev \
|
libnet-dev \
|
||||||
|
libnl-3-dev \
|
||||||
libprotobuf-c-dev \
|
libprotobuf-c-dev \
|
||||||
libprotobuf-dev \
|
libprotobuf-dev \
|
||||||
libnl-3-dev \
|
|
||||||
libcap-dev \
|
|
||||||
protobuf-compiler \
|
|
||||||
protobuf-c-compiler \
|
protobuf-c-compiler \
|
||||||
|
protobuf-compiler \
|
||||||
python-protobuf \
|
python-protobuf \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
@ -112,14 +112,14 @@ FROM base AS cross-false
|
||||||
|
|
||||||
FROM base AS cross-true
|
FROM base AS cross-true
|
||||||
ARG DEBIAN_FRONTEND
|
ARG DEBIAN_FRONTEND
|
||||||
RUN dpkg --add-architecture armhf
|
|
||||||
RUN dpkg --add-architecture arm64
|
RUN dpkg --add-architecture arm64
|
||||||
RUN dpkg --add-architecture armel
|
RUN dpkg --add-architecture armel
|
||||||
|
RUN dpkg --add-architecture armhf
|
||||||
RUN if [ "$(go env GOHOSTARCH)" = "amd64" ]; then \
|
RUN if [ "$(go env GOHOSTARCH)" = "amd64" ]; then \
|
||||||
apt-get update && apt-get install -y --no-install-recommends \
|
apt-get update && apt-get install -y --no-install-recommends \
|
||||||
crossbuild-essential-armhf \
|
|
||||||
crossbuild-essential-arm64 \
|
crossbuild-essential-arm64 \
|
||||||
crossbuild-essential-armel \
|
crossbuild-essential-armel \
|
||||||
|
crossbuild-essential-armhf \
|
||||||
&& rm -rf /var/lib/apt/lists/*; \
|
&& rm -rf /var/lib/apt/lists/*; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -140,12 +140,12 @@ ARG DEBIAN_FRONTEND
|
||||||
# other architectures cannnot crossbuild amd64.
|
# other architectures cannnot crossbuild amd64.
|
||||||
RUN if [ "$(go env GOHOSTARCH)" = "amd64" ]; then \
|
RUN if [ "$(go env GOHOSTARCH)" = "amd64" ]; then \
|
||||||
apt-get update && apt-get install -y --no-install-recommends \
|
apt-get update && apt-get install -y --no-install-recommends \
|
||||||
libseccomp-dev:armhf \
|
|
||||||
libseccomp-dev:arm64 \
|
|
||||||
libseccomp-dev:armel \
|
|
||||||
libapparmor-dev:armhf \
|
|
||||||
libapparmor-dev:arm64 \
|
libapparmor-dev:arm64 \
|
||||||
libapparmor-dev:armel \
|
libapparmor-dev:armel \
|
||||||
|
libapparmor-dev:armhf \
|
||||||
|
libseccomp-dev:arm64 \
|
||||||
|
libseccomp-dev:armel \
|
||||||
|
libseccomp-dev:armhf \
|
||||||
# install this arches seccomp here due to compat issues with the v0 builder
|
# install this arches seccomp here due to compat issues with the v0 builder
|
||||||
# This is as opposed to inheriting from runtime-dev-cross-false
|
# This is as opposed to inheriting from runtime-dev-cross-false
|
||||||
libapparmor-dev \
|
libapparmor-dev \
|
||||||
|
@ -255,15 +255,19 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||||
apparmor \
|
apparmor \
|
||||||
aufs-tools \
|
aufs-tools \
|
||||||
bash-completion \
|
bash-completion \
|
||||||
|
binutils-mingw-w64 \
|
||||||
btrfs-tools \
|
btrfs-tools \
|
||||||
|
bzip2 \
|
||||||
|
g++-mingw-w64-x86-64 \
|
||||||
iptables \
|
iptables \
|
||||||
jq \
|
jq \
|
||||||
libcap2-bin \
|
libcap2-bin \
|
||||||
libdevmapper-dev \
|
libdevmapper-dev \
|
||||||
libudev-dev \
|
libnet1 \
|
||||||
|
libnl-3-200 \
|
||||||
|
libprotobuf-c1 \
|
||||||
libsystemd-dev \
|
libsystemd-dev \
|
||||||
binutils-mingw-w64 \
|
libudev-dev \
|
||||||
g++-mingw-w64-x86-64 \
|
|
||||||
net-tools \
|
net-tools \
|
||||||
pigz \
|
pigz \
|
||||||
python3-pip \
|
python3-pip \
|
||||||
|
@ -273,12 +277,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||||
vim \
|
vim \
|
||||||
vim-common \
|
vim-common \
|
||||||
xfsprogs \
|
xfsprogs \
|
||||||
zip \
|
|
||||||
bzip2 \
|
|
||||||
xz-utils \
|
xz-utils \
|
||||||
libprotobuf-c1 \
|
zip \
|
||||||
libnet1 \
|
|
||||||
libnl-3-200 \
|
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
RUN pip3 install yamllint==1.16.0
|
RUN pip3 install yamllint==1.16.0
|
||||||
|
|
Loading…
Reference in a new issue