File tree Expand file tree Collapse file tree 2 files changed +29
-9
lines changed Expand file tree Collapse file tree 2 files changed +29
-9
lines changed Original file line number Diff line number Diff line change @@ -2,15 +2,23 @@ FROM gcr.io/google_containers/hyperkube:v1.18.4
2
2
RUN sed -i -e 's!\b main\b !main contrib!g' /etc/apt/sources.list && \
3
3
apt-get update && apt-get upgrade -y && apt-get clean && \
4
4
clean-install apt-transport-https gnupg1 curl zfsutils-linux \
5
- && echo "deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ stretch main" > \
5
+ && echo "deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ buster main" > \
6
6
/etc/apt/sources.list.d/azure-cli.list \
7
7
&& curl -L https://packages.microsoft.com/keys/microsoft.asc | apt-key add - \
8
8
&& apt-get purge gnupg \
9
9
&& clean-install \
10
10
xfsprogs \
11
11
open-iscsi \
12
- azure-cli
12
+ azure-cli \
13
+ iproute2 \
14
+ iputils-ping \
15
+ procps \
16
+ glusterfs-client \
17
+ glusterfs-common \
18
+ samba-common \
19
+ arptables
13
20
14
- RUN echo "deb http://deb.debian.org/debian stretch-backports main" >> \
15
- /etc/apt/sources.list.d/backports.list \
16
- && clean-install -t stretch-backports glusterfs-client glusterfs-common
21
+ RUN update-alternatives --set iptables /usr/sbin/iptables-legacy && \
22
+ update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy && \
23
+ update-alternatives --set arptables /usr/sbin/arptables-legacy && \
24
+ update-alternatives --set ebtables /usr/sbin/ebtables-legacy
Original file line number Diff line number Diff line change @@ -2,11 +2,23 @@ FROM gcr.io/google_containers/hyperkube:v1.18.4
2
2
RUN sed -i -e 's!\bmain\b!main contrib!g' /etc/apt/sources.list && \
3
3
apt-get update && apt-get upgrade -y && apt-get clean && \
4
4
clean-install apt-transport-https gnupg1 curl zfsutils-linux \
5
+ && echo "deb [arch=arm64] https://packages.microsoft.com/repos/azure-cli/ buster main" > \
6
+ /etc/apt/sources.list.d/azure-cli.list \
7
+ && curl -L https://packages.microsoft.com/keys/microsoft.asc | apt-key add - \
5
8
&& apt-get purge gnupg \
6
9
&& clean-install \
7
10
xfsprogs \
8
- open-iscsi
11
+ open-iscsi \
12
+ azure-cli \
13
+ iproute2 \
14
+ iputils-ping \
15
+ procps \
16
+ glusterfs-client \
17
+ glusterfs-common \
18
+ samba-common \
19
+ arptables
9
20
10
- RUN echo "deb http://deb.debian.org/debian stretch-backports main" >> \
11
- /etc/apt/sources.list.d/backports.list \
12
- && clean-install -t stretch-backports glusterfs-client glusterfs-common
21
+ RUN update-alternatives --set iptables /usr/sbin/iptables-legacy && \
22
+ update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy && \
23
+ update-alternatives --set arptables /usr/sbin/arptables-legacy && \
24
+ update-alternatives --set ebtables /usr/sbin/ebtables-legacy
You can’t perform that action at this time.
0 commit comments