From 57ad87a79376d9bad257c4a2e777e7edbab220a0 Mon Sep 17 00:00:00 2001 From: Egon Rijpkema Date: Mon, 3 Jul 2017 11:30:24 +0200 Subject: [PATCH] Changed to ubuntu 16.04 base .. like the other components. --- roles/keystone/files/Dockerfile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/roles/keystone/files/Dockerfile b/roles/keystone/files/Dockerfile index eb9425e..c233e82 100644 --- a/roles/keystone/files/Dockerfile +++ b/roles/keystone/files/Dockerfile @@ -4,12 +4,16 @@ # run keystone-manage db_sync from this docker first: # $ docker run hpc/keystone --add-host=mariadb: "keystone-manage db_sync" -# wellicht ubuntu 16.04 of anders 18.04 -FROM ubuntu:zesty +FROM ubuntu:16.04 -RUN apt-get update +RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 5EDB1B62EC4926EA -RUN apt-get install --yes keystone python-openstackclient +RUN set -x \ + && echo "deb http://ubuntu-cloud.archive.canonical.com/ubuntu xenial-updates/ocata main" > /etc/apt/sources.list.d/ocata.list \ + && apt-get -y update \ + && apt-get -y install \ + && apt-get -y install keystone python-openstackclient \ + && apt-get -y clean # set admin token TODO: make this a secret # in volume of met env