Add Focal images for Nova SSH

Change-Id: I29c3b261ef984ded83ae7df2bd4a28b64984fbd0
This commit is contained in:
Mohammed Naser
2021-05-14 09:08:02 -04:00
parent 07e424175a
commit dd2bd27ffb
2 changed files with 23 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
ARG FROM=docker.io/ubuntu:focal
FROM ${FROM}
ARG UID=42424
RUN set -ex && \
apt-get update && \
apt-get upgrade -y && \
apt-get install --no-install-recommends -y \
openssh-server \
openssh-client && \
rm -rf /var/lib/apt/lists/*
RUN useradd -r -u ${UID} -d /var/lib/nova nova && \
chown -R nova: /etc/ssh && \
mkdir /var/run/sshd && \
chmod 0775 /var/run/sshd

View File

@@ -47,6 +47,12 @@
tags:
- latest-ubuntu_bionic
- "ubuntu_bionic-{{ currentdate }}"
- context: nova-ssh
repository: openstackhelm/nova-ssh
dockerfile: Dockerfile.ubuntu_focal
tags:
- latest-ubuntu_focal
- "ubuntu_focal-{{ currentdate }}"
files: &nova_ssh_files
- nova-ssh/.*
- zuul.d/nova-ssh.yaml