mirror of
https://github.com/optim-enterprises-bv/openstack-helm-images.git
synced 2026-01-08 00:11:24 +00:00
18 lines
404 B
Docker
18 lines
404 B
Docker
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 0755 /var/run/sshd
|