parent
a259d7019e
commit
b7c9a84dfb
3 changed files with 14 additions and 29 deletions
13
Dockerfile
13
Dockerfile
|
@ -1,4 +1,13 @@
|
|||
FROM scratch
|
||||
ARG TARGETARCH
|
||||
COPY ./os-${TARGETARCH}/ /
|
||||
FROM git.hydrar.de/navos/navos:latest
|
||||
# Download rootfs
|
||||
wget -O - "https://navos.hydrar.de/rootfs/${TARGETARCH}/rootfs.tar.xz" | tar --numeric-owner --xattrs --acls -xf - -C /os
|
||||
|
||||
# Copy
|
||||
FROM scratch
|
||||
COPY --from=builder /os/ /
|
||||
|
||||
# Update
|
||||
RUN pacman -Syu --noconfirm
|
||||
|
||||
CMD ["/bin/sh"]
|
Loading…
Add table
Add a link
Reference in a new issue