diff --git a/kiwi-builder/Dockerfile b/kiwi-builder/Dockerfile index 19dfa4b..5a2b74e 100644 --- a/kiwi-builder/Dockerfile +++ b/kiwi-builder/Dockerfile @@ -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 diff --git a/kiwi-builder/oss.repo b/kiwi-builder/oss.repo new file mode 100644 index 0000000..081111d --- /dev/null +++ b/kiwi-builder/oss.repo @@ -0,0 +1,6 @@ +[oss] +name=oss +enabled=1 +autorefresh=0 +baseurl=http://download.opensuse.org/distribution/12.3/repo/oss/ +type=yast2 diff --git a/kiwi-builder/update.repo b/kiwi-builder/update.repo new file mode 100644 index 0000000..30e21bd --- /dev/null +++ b/kiwi-builder/update.repo @@ -0,0 +1,6 @@ +[update] +name=update +enabled=1 +autorefresh=0 +baseurl=http://download.opensuse.org/update/12.3/ +type=rpm-md