Files
openstack-helm-images/libvirt/Dockerfile.ubuntu_bionic
Pete Birley 03e66fa9a8 Libvirt: Ubuntu Bionic image
This PS adds a libvirt image based on the bionic release of Ubuntu.

Change-Id: Id87dc3f6a280cf91b3a31a1f847ea1439cbfa797
Signed-off-by: Pete Birley <pete@port.direct>
2019-06-26 15:18:09 -05:00

24 lines
642 B
Docker

ARG FROM=docker.io/ubuntu:bionic
FROM ${FROM}
LABEL maintainer="pete.birley@att.com"
ARG UBUNTU_RELEASE=bionic
ARG CEPH_RELEASE=mimic
ARG PROJECT=nova
ARG UID=42424
ARG GID=42424
ARG CEPH_REPO=http://download.ceph.com/debian-${CEPH_RELEASE}/
ARG CEPH_KEY=http://download.ceph.com/keys/release.asc
ADD ${CEPH_KEY} /etc/apt/ceph-${CEPH_RELEASE}.key
COPY ./ubuntu-install-libvirt.sh /tmp/ubuntu-install-libvirt.sh
RUN set -ex ;\
export DEBIAN_FRONTEND=noninteractive ;\
apt-get update ;\
apt-get upgrade -y ;\
apt-get install --no-install-recommends -y \
gnupg ;\
/tmp/ubuntu-install-libvirt.sh ;\
rm -rf /tmp/*