mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-27 04:16:45 +01:00
suserepos
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
This commit is contained in:
parent
7fd969911b
commit
20edea8c9d
|
@ -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
6
kiwi-builder/oss.repo
Normal 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
6
kiwi-builder/update.repo
Normal file
|
@ -0,0 +1,6 @@
|
|||
[update]
|
||||
name=update
|
||||
enabled=1
|
||||
autorefresh=0
|
||||
baseurl=http://download.opensuse.org/update/12.3/
|
||||
type=rpm-md
|
Loading…
Reference in New Issue
Block a user