Skip to content

Commit c33d421

Browse files
committed
ci: update Dockerfile to fix broken tests
Due to some weird py3k issue that has manifested recently, our CI started breaking due to errors within xattr. Switch to a newer version (since it looks like the python3-* version is not maintained anymore in the py3k repo). Signed-off-by: Aleksa Sarai <asarai@suse.de>
1 parent 0bdddfd commit c33d421

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

Dockerfile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,8 @@ MAINTAINER "Aleksa Sarai <asarai@suse.com>"
2020
# into openSUSE:Factory yet.
2121
RUN zypper ar -f -p 10 -g obs://Virtualization:containers obs-vc && \
2222
zypper ar -f -p 10 -g obs://devel:languages:go obs-dlg && \
23-
zypper ar -f -p 10 -g obs://home:cyphar:containers obs-home-cyphar-containers && \
2423
zypper ar -f -p 15 -g obs://home:cyphar obs-home-cyphar && \
25-
zypper ar -f -p 15 -g obs://devel:languages:python3 obs-py3k && \
24+
zypper ar -f -p 15 -g obs://devel:languages:python obs-py && \
2625
zypper --gpg-auto-import-keys -n ref && \
2726
zypper -n up
2827
RUN zypper -n in \
@@ -36,8 +35,7 @@ RUN zypper -n in \
3635
moreutils \
3736
oci-image-tools \
3837
oci-runtime-tools \
39-
python3-setuptools \
40-
python3-xattr \
38+
python-setuptools python-xattr \
4139
skopeo
4240

4341
ENV GOPATH /go
@@ -51,7 +49,8 @@ RUN go get -u github.com/golang/lint/golint
5149
# Reinstall skopeo from source, since there's a bootstrapping issue because
5250
# packaging of skopeo in openSUSE is often blocked by umoci updates (since KIWI
5351
# uses both). XXX: This should no longer be necessary once we hit OCI v1.0.
54-
ENV SKOPEO_VERSION=v0.1.23 SKOPEO_PROJECT=github.com/projectatomic/skopeo
52+
# XXX: Switch to proper version once v0.1.24 is released.
53+
ENV SKOPEO_VERSION=875dd2e7a965adb92dfc97c69eaceba9d33b27ba SKOPEO_PROJECT=github.com/projectatomic/skopeo
5554
RUN zypper -n in \
5655
device-mapper-devel \
5756
glib2-devel \

0 commit comments

Comments
 (0)