install packages for openshift-install
@@ -16,8 +16,10 @@ LABEL io.openshift.release.operator=true
# ToDo: Replace postgres with SQLite DB
# https://issues.redhat.com/browse/AGENT-223
-RUN dnf install -y postgresql-server && dnf clean all
+RUN dnf install -y postgresql-server libvirt-libs nmstate && dnf clean all
+
COPY hack/agent_installer/start_db.sh start_db.sh
+
RUN su - postgres -c "mkdir -p /tmp/postgres/data"
RUN su - postgres -c "/usr/bin/initdb -D /tmp/postgres/data"
