13
13
# See the License for the specific language governing permissions and
14
14
# limitations under the License.
15
15
16
- FROM registry.opensuse.org/opensuse/leap:15.2
16
+ FROM registry.opensuse.org/opensuse/leap:15.4
17
17
MAINTAINER "Aleksa Sarai <[email protected] >"
18
18
19
19
# We have to use out-of-tree repos because several packages haven't been merged
20
20
# into openSUSE Leap yet, or are out of date in Leap.
21
21
RUN zypper mr -d repo-non-oss repo-update-non-oss && \
22
- zypper ar -f -p 5 -g obs://home:cyphar:bats obs-bats && \
23
- zypper ar -f -p 10 -g obs://Virtualization:containers obs-vc && \
24
- zypper ar -f -p 10 -g obs://devel:tools obs-tools && \
25
- zypper ar -f -p 10 -g obs://devel:languages:go obs-go && \
22
+ zypper ar -f -p 10 -g ' obs://Virtualization:containers/$releasever' obs-vc && \
23
+ zypper ar -f -p 10 -g ' obs://devel:tools/$releasever' obs-tools && \
24
+ zypper ar -f -p 10 -g ' obs://devel:languages:go/$releasever' obs-go && \
25
+ zypper ar -f -p 10 -g ' obs://home:cyphar:containers/$releasever' obs-gomtree && \
26
26
zypper --gpg-auto-import-keys -n ref && \
27
27
zypper -n up
28
28
RUN zypper -n in \
@@ -32,15 +32,14 @@ RUN zypper -n in \
32
32
curl \
33
33
git \
34
34
gnu_parallel \
35
- "go>=1.16 " \
35
+ "go>=1.18 " \
36
36
go-mtree \
37
37
gzip \
38
38
jq \
39
39
libcap-progs \
40
40
make \
41
41
moreutils \
42
- python-setuptools \
43
- python-xattr \
42
+ python3-xattr python3-setuptools \
44
43
runc \
45
44
skopeo \
46
45
tar \
@@ -66,7 +65,7 @@ RUN git clone -b v0.3.0 https://github.com/opencontainers/image-tools.git /tmp/o
66
65
rm -rf /tmp/oci-image-tools
67
66
68
67
ENV SOURCE_IMAGE=/opensuse SOURCE_TAG=latest
69
- ARG TEST_DOCKER_IMAGE=registry.opensuse.org/opensuse/leap:15.2
68
+ ARG TEST_DOCKER_IMAGE=registry.opensuse.org/opensuse/leap:15.4
70
69
RUN skopeo copy docker://$TEST_DOCKER_IMAGE oci:$SOURCE_IMAGE:$SOURCE_TAG
71
70
72
71
VOLUME ["/go/src/github.com/opencontainers/umoci" ]
0 commit comments