container/Dockerfile
jmarya 8d72c87475
All checks were successful
ci/woodpecker/push/build Pipeline was successful
docker
2025-04-24 10:24:54 +00:00

15 lines
No EOL
440 B
Docker

FROM ubuntu as builder
ARG TARGETARCH
# Download rootfs
RUN apt-get update -y && apt-get upgrade -y && apt-get install -y wget xz-utils
RUN mkdir /os && wget -O - "https://navos.hydrar.de/rootfs/${TARGETARCH}/rootfs.tar.xz" | tar --numeric-owner --xattrs --acls -xvJf - -C /os
# Copy
FROM scratch
COPY --from=builder /os/ /
# Update & remove local keyring
#RUN rm -r /etc/pacman.d/gnupg/
# RUN pacman -Syu --noconfirm &&
CMD ["/bin/sh"]