Mohammed Naser | c639230 | 2024-01-04 00:43:02 -0500 | [diff] [blame] | 1 | VERSION 0.7 |
| 2 | |
Mohammed Naser | 1220717 | 2024-02-05 18:49:35 -0500 | [diff] [blame] | 3 | ARG --global REGISTRY=ghcr.io/vexxhost/atmosphere |
| 4 | |
Mohammed Naser | c639230 | 2024-01-04 00:43:02 -0500 | [diff] [blame] | 5 | platform-image: |
Mohammed Naser | 7a848bc | 2024-01-22 21:58:11 -0500 | [diff] [blame] | 6 | 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 Naser | 1220717 | 2024-02-05 18:49:35 -0500 | [diff] [blame] | 16 | SAVE IMAGE --push ${REGISTRY}/nova-ssh:latest |
Mohammed Naser | c639230 | 2024-01-04 00:43:02 -0500 | [diff] [blame] | 17 | |
| 18 | image: |
| 19 | BUILD --platform linux/amd64 --platform linux/arm64 +platform-image |