This repository has been archived on 2020-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
quay/buildman/qemu-coreos/Dockerfile

27 lines
726 B
Text
Raw Normal View History

2015-11-20 20:32:32 +00:00
FROM debian
2017-04-03 18:56:15 +00:00
RUN apt-get clean && apt-get update && apt-get upgrade -y # 03APR2017
RUN apt-get install -y \
2015-11-20 20:32:32 +00:00
bzip2 \
curl \
openssh-client \
qemu-kvm
ARG channel=stable
ARG version=current
2015-11-20 20:32:32 +00:00
RUN echo "Downloading http://${channel}.release.core-os.net/amd64-usr/${version}/coreos_production_qemu_image.img.bz2"
RUN curl -s -O http://${channel}.release.core-os.net/amd64-usr/${version}/coreos_production_qemu_image.img.bz2 && \
2015-11-20 20:32:32 +00:00
bzip2 -d coreos_production_qemu_image.img.bz2
RUN apt-get remove -y curl bzip2 && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
COPY start.sh /start.sh
LABEL com.coreos.channel ${channel}
LABEL com.coreos.version ${version}
2015-11-20 20:32:32 +00:00
ENTRYPOINT ["/bin/bash", "/start.sh"]