inet-mon/Containerfile
2026-07-11 11:09:15 +02:00

19 lines
526 B
Docker

FROM node:26-trixie
VOLUME /src
#RUN apt-get update \
# && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends curl ca-certificates \
# && rm -rf /var/cache/apt/archives /var/lib/apt/lists/*
RUN curl -fsSL https://pi.dev/install.sh | sh \
&& pi update \
&& pi update --extensions
RUN curl -fsSL https://nixos.org/nix/install | sh -s -- --daemon \
&& echo "max-jobs = auto" >> /etc/nix/nix.conf \
&& echo "experimental-features = nix-command flakes" >> /etc/nix/nix.conf
WORKDIR /src
CMD ["pi"]