From 34fed6b5720eb396a27279f906cc8ac00de9542e Mon Sep 17 00:00:00 2001 From: Xaver Russ Date: Mon, 29 Sep 2025 10:56:37 +0200 Subject: [PATCH] refactor: update Dockerfile to include incus-agent and ensure proper package installation --- containers/alpine/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/containers/alpine/Dockerfile b/containers/alpine/Dockerfile index 78d3a20..256c3ef 100644 --- a/containers/alpine/Dockerfile +++ b/containers/alpine/Dockerfile @@ -4,10 +4,11 @@ RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositori echo "http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories && \ echo "@testing http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories -RUN apk upgrade --no-cache +RUN apk upgrade --no-cache --update RUN apk add --no-cache \ alpine-base \ + incus-agent \ apk-cron \ bash \ ca-certificates \ @@ -31,6 +32,7 @@ RUN mkdir -p /run/openrc RUN touch /run/openrc/softlevel RUN rc-update add sshd default RUN rc-update add tailscale default +RUN rc-update add incus-agent default RUN ssh-keygen -A RUN printf 'auto lo\niface lo inet loopback\n' > /etc/network/interfaces