Update Keystone Dockerfile to use Ubuntu 22.04 43/13543/3
authorGulsum Atici <gulsum.atici@canonical.com>
Mon, 19 Jun 2023 07:58:23 +0000 (10:58 +0300)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Tue, 20 Jun 2023 10:47:59 +0000 (12:47 +0200)
Change-Id: I600b662e7505ca6dc3401c04dca82575143e1702
Signed-off-by: Gulsum Atici <gulsum.atici@canonical.com>
docker/Keystone/Dockerfile

index b429237..b00b384 100644 (file)
@@ -14,7 +14,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 #######################################################################################
-FROM ubuntu:20.04
+FROM ubuntu:22.04
 
 ARG APT_PROXY
 RUN if [ ! -z $APT_PROXY ] ; then \
@@ -32,33 +32,32 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
     DEBIAN_FRONTEND=noninteractive apt-get upgrade -y && \
     DEBIAN_FRONTEND=noninteractive apt-get autoremove -y && \
     DEBIAN_FRONTEND=noninteractive apt-get install -y software-properties-common && \
-    add-apt-repository -y cloud-archive:victoria && \
+    add-apt-repository -y cloud-archive:antelope && \
     DEBIAN_FRONTEND=noninteractive apt-get update && \
     DEBIAN_FRONTEND=noninteractive apt-get dist-upgrade -y && \
     DEBIAN_FRONTEND=noninteractive apt-get install -y \
     apache2=2.4.* \
-    keystone=2:18.1.* \
-    libapache2-mod-wsgi-py3=4.6.* \
-    python3-pip=20.0.* \
-    build-essential=12.8* \
-    python3-dev=3.8.* \
-    libldap2-dev=2.4.* \
+    keystone=2:23.0.* \
+    libapache2-mod-wsgi-py3=4.9.* \
+    python3-pip=22.0.* \
+    build-essential=12.9* \
+    python3-dev=3.10.* \
+    libldap2-dev=2.5.* \
     libsasl2-dev=2.1.* \
-    libssl-dev=1.1.* \
-    libffi-dev=3.3* \
+    libssl-dev=3.0.* \
+    libffi-dev=3.4* \
     libxml2-dev=2.9.* \
     libxslt1-dev=1.1.* \
     zlib1g-dev=1:1.2.* \
-    ldap-utils=2.4.* \
-    curl=7.68.* \
+    ldap-utils=2.5.* \
+    curl=7.81.* \
     net-tools=1.60* \
     mysql-client=8.0.* \
-    dnsutils=1:9.16.* && \
+    dnsutils=1:9.18.* && \
     rm -rf /var/lib/apt/lists/* && \
     chmod +x start.sh
 
-RUN pip3 install -U pip==21.3.1 && \
-    pip3 install python-ldap==3.2.0 ldappool==3.0.0 python-openstackclient==5.7.0
+RUN pip3 install python-ldap==3.2.0 ldappool==3.0.0 python-openstackclient==6.2.0
 
 # Creating the user for the app
 RUN groupadd -g 1000 appuser && \