blob: ac8bac9614e189dd450483e9b7de1bded030259d [file] [log] [blame]
VERSION 0.7
ARG --global REGISTRY=ghcr.io/vexxhost/atmosphere
platform-image:
FROM ../base+image
DO ../+CREATE_PROJECT_USER \
--PROJECT=nova \
--SHELL=/bin/bash
DO ../+APT_INSTALL \
--PACKAGES "openssh-server openssh-client"
RUN \
chown -R nova: /etc/ssh && \
mkdir /var/run/sshd && \
chmod 0755 /var/run/sshd
SAVE IMAGE --push ${REGISTRY}/nova-ssh:latest
image:
BUILD --platform linux/amd64 --platform linux/arm64 +platform-image