Skip to content

Commit

Permalink
Update NovaEFI-Containerfile (rackerlabs#396)
Browse files Browse the repository at this point in the history
* Update NovaEFI-Containerfile

add cryptsetup package

* Update NovaEFI-Containerfile

add barbican client and non-interactive setup for apt
  • Loading branch information
timolow authored Aug 8, 2024
1 parent 4052650 commit 4e8ccf4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Containerfiles/NovaEFI-Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ RUN apt update && apt install -y git
RUN export ORIG_PLUGIN_VERSION="${PLUGIN_VERSION}"; \
if [ "${PLUGIN_VERSION}" != 'master' ]; then export PLUGIN_VERSION=stable/${PLUGIN_VERSION}; fi; \
. /var/lib/openstack/bin/activate; \
/var/lib/openstack/bin/pip install git+https://github.com/openstack/oslo.db@${PLUGIN_VERSION}#egg=oslo_db
/var/lib/openstack/bin/pip install git+https://github.com/openstack/oslo.db@${PLUGIN_VERSION}#egg=oslo_db && \
/var/lib/openstack/bin/pip install python-barbicanclient

FROM openstackhelm/nova:${VERSION}
COPY --from=build /var/lib/openstack/. /var/lib/openstack/
Expand All @@ -14,8 +15,8 @@ COPY --from=build /var/lib/openstack/. /var/lib/openstack/
# - Nova: iSCSI
# Py Packages for the following features:
# - Nova: Libosinfo
RUN apt update && apt install -y ovmf open-iscsi multipath-tools libgirepository-1.0-1 libgirepository1.0-dev \
libcairo2-dev python3-dev gcc libosinfo-bin gir1.2-libosinfo-1.0 nfs-common; \
RUN apt update && DEBIAN_FRONTEND=noninteractive apt install -y ovmf open-iscsi multipath-tools libgirepository-1.0-1 libgirepository1.0-dev \
libcairo2-dev python3-dev gcc libosinfo-bin gir1.2-libosinfo-1.0 nfs-common cryptsetup; \
rm -rf /var/cache/apt/archives /var/lib/apt/lists; \
apt clean; /var/lib/openstack/bin/pip install pygobject; \
find /var/lib/openstack -regex '^.*\(__pycache__\|\.py[co]\)$' -delete

0 comments on commit 4e8ccf4

Please sign in to comment.