mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-27 12:23:35 +01:00
75012bbc10
Signed-off-by: Jess Frazelle <jess@mesosphere.com>
23 lines
538 B
Docker
23 lines
538 B
Docker
FROM opensuse
|
|
|
|
RUN zypper --non-interactive install \
|
|
kiwi \
|
|
kiwi-doc \
|
|
lxc
|
|
|
|
ENV HOME /root
|
|
WORKDIR /usr/src
|
|
|
|
RUN cp -r /usr/share/doc/packages/kiwi/examples/suse-13.1/suse-docker-container /usr/src/
|
|
|
|
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 /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
|