mirror of
https://github.com/optim-enterprises-bv/openstack-helm-images.git
synced 2025-10-29 17:32:25 +00:00
Add Focal images for Nova SSH
Change-Id: I29c3b261ef984ded83ae7df2bd4a28b64984fbd0
This commit is contained in:
17
nova-ssh/Dockerfile.ubuntu_focal
Normal file
17
nova-ssh/Dockerfile.ubuntu_focal
Normal 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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user