@@ -158,8 +158,8 @@ RUN export ARCH=$(dpkg --print-architecture | sed 's/ppc64el/ppc64le/' | sed 's/
158
158
159
159
# Install cri-o/podman dependencies:
160
160
RUN export ARCH=$(dpkg --print-architecture | sed 's/ppc64el/ppc64le/' ) && \
161
- sh -c "echo 'deb https://download .opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_20.04/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list" && \
162
- curl -LO https://download .opensuse.org/repositories/devel:kubic:libcontainers:stable/xUbuntu_20.04/Release.key && \
161
+ sh -c "echo 'deb https://downloadcontent .opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_20.04/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list" && \
162
+ curl -LO https://downloadcontent .opensuse.org/repositories/devel:kubic:libcontainers:stable/xUbuntu_20.04/Release.key && \
163
163
apt-key add - < Release.key && \
164
164
if [ "$ARCH" != "ppc64le" ]; then \
165
165
clean-install containers-common catatonit conmon containernetworking-plugins cri-tools podman-plugins crun; \
@@ -169,15 +169,15 @@ RUN export ARCH=$(dpkg --print-architecture | sed 's/ppc64el/ppc64le/') && \
169
169
170
170
# install cri-o based on https://github.com/cri-o/cri-o/blob/release-1.22/README.md#installing-cri-o
171
171
RUN export ARCH=$(dpkg --print-architecture | sed 's/ppc64el/ppc64le/' | sed 's/armhf/arm-v7/' ) && \
172
- if [ "$ARCH" != "ppc64le" ] && [ "$ARCH" != "arm-v7" ]; then sh -c "echo 'deb https://download .opensuse.org/repositories/devel:/kubic:/libcontainers:/stable:/cri-o:/${CRIO_VERSION}/xUbuntu_20.04/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable:cri-o:${CRIO_VERSION}.list" && \
173
- curl -LO https://download .opensuse.org/repositories/devel:/kubic:/libcontainers:/stable:/cri-o:/${CRIO_VERSION}/xUbuntu_20.04/Release.key && \
172
+ if [ "$ARCH" != "ppc64le" ] && [ "$ARCH" != "arm-v7" ]; then sh -c "echo 'deb https://downloadcontent .opensuse.org/repositories/devel:/kubic:/libcontainers:/stable:/cri-o:/${CRIO_VERSION}/xUbuntu_20.04/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable:cri-o:${CRIO_VERSION}.list" && \
173
+ curl -LO https://downloadcontent .opensuse.org/repositories/devel:/kubic:/libcontainers:/stable:/cri-o:/${CRIO_VERSION}/xUbuntu_20.04/Release.key && \
174
174
apt-key add - < Release.key && \
175
175
clean-install cri-o cri-o-runc; fi
176
176
177
177
# install podman
178
178
RUN export ARCH=$(dpkg --print-architecture | sed 's/ppc64el/ppc64le/' ) && \
179
- if [ "$ARCH" != "ppc64le" ]; then sh -c "echo 'deb http://download .opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_20.04/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list" && \
180
- curl -LO https://download .opensuse.org/repositories/devel:kubic:libcontainers:stable/xUbuntu_20.04/Release.key && \
179
+ if [ "$ARCH" != "ppc64le" ]; then sh -c "echo 'deb http://downloadcontent .opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_20.04/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list" && \
180
+ curl -LO https://downloadcontent .opensuse.org/repositories/devel:kubic:libcontainers:stable/xUbuntu_20.04/Release.key && \
181
181
apt-key add - < Release.key && \
182
182
clean-install podman && \
183
183
addgroup --system podman && \
0 commit comments