suserepos

Signed-off-by: Jessica Frazelle <acidburn@docker.com>
This commit is contained in:
Jessica Frazelle 2016-01-15 15:21:06 -08:00
parent 7fd969911b
commit 20edea8c9d
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3
3 changed files with 18 additions and 2 deletions

View File

@ -14,6 +14,10 @@ RUN cp -r /usr/share/doc/packages/kiwi/examples/suse-13.1/suse-docker-container
COPY config.xml /usr/src/suse-docker-container/
COPY config.sh /usr/src/suse-docker-container/
RUN kiwi --prepare /usr/src/suse-docker-container --root /tmp/suse-rootfs \
&& tar cvpf suse-rootfs.tar -C /tmp/suse-rootfs/ . \
RUN kiwi --prepare /usr/src/suse-docker-container --root /suse-rootfs
COPY oss.repo /suse-rootfs/etc/zypp/repos.d/
COPY update.repo /suse-rootfs/etc/zypp/repos.d/
RUN tar cvpf suse-rootfs.tar -C /suse-rootfs/ . \
&& mkdir -p artifacts

6
kiwi-builder/oss.repo Normal file
View File

@ -0,0 +1,6 @@
[oss]
name=oss
enabled=1
autorefresh=0
baseurl=http://download.opensuse.org/distribution/12.3/repo/oss/
type=yast2

6
kiwi-builder/update.repo Normal file
View File

@ -0,0 +1,6 @@
[update]
name=update
enabled=1
autorefresh=0
baseurl=http://download.opensuse.org/update/12.3/
type=rpm-md