blob: ac8bac9614e189dd450483e9b7de1bded030259d [file] [log] [blame]
Mohammed Naserc6392302024-01-04 00:43:02 -05001VERSION 0.7
2
Mohammed Naser12207172024-02-05 18:49:35 -05003ARG --global REGISTRY=ghcr.io/vexxhost/atmosphere
4
Mohammed Naserc6392302024-01-04 00:43:02 -05005platform-image:
Mohammed Naser7a848bc2024-01-22 21:58:11 -05006 FROM ../base+image
7 DO ../+CREATE_PROJECT_USER \
8 --PROJECT=nova \
9 --SHELL=/bin/bash
10 DO ../+APT_INSTALL \
11 --PACKAGES "openssh-server openssh-client"
12 RUN \
13 chown -R nova: /etc/ssh && \
14 mkdir /var/run/sshd && \
15 chmod 0755 /var/run/sshd
Mohammed Naser12207172024-02-05 18:49:35 -050016 SAVE IMAGE --push ${REGISTRY}/nova-ssh:latest
Mohammed Naserc6392302024-01-04 00:43:02 -050017
18image:
19 BUILD --platform linux/amd64 --platform linux/arm64 +platform-image