refactor: update Dockerfile to include incus-agent and ensure proper package installation
All checks were successful
All checks were successful
This commit is contained in:
parent
9a980e4fdc
commit
34fed6b572
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue