fix: update network interface configuration in Dockerfile
All checks were successful
Build and Push Alpine Container / build-and-push-arch (amd64) (push) Successful in 3s
Build and Push Alpine Container / build-and-push-arch (arm64) (push) Successful in 12s
Build and Push Alpine Container / merge-images-via-manifest (push) Successful in 1s

This commit is contained in:
Xaver Russ 2025-09-30 15:11:29 +02:00
parent 90e56ae991
commit 0a267c3102

View file

@ -36,7 +36,7 @@ RUN rc-update add sshd default
RUN rc-update add incus-agent default RUN rc-update add incus-agent default
RUN ssh-keygen -A RUN ssh-keygen -A
RUN printf 'auto lo\niface lo inet loopback\n' > /etc/network/interfaces RUN printf 'auto lo\niface lo inet loopback\n\nauto eth0\niface eth0 inet dhcp\n' > /etc/network/interfaces
RUN mkdir -p /root/.ssh && \ RUN mkdir -p /root/.ssh && \
printf 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEFdTFM5ZbGytRp8orRu4cK+kLcQdPFVKqaN0iNVlp2p slothington\n' >> /root/.ssh/authorized_keys && \ printf 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEFdTFM5ZbGytRp8orRu4cK+kLcQdPFVKqaN0iNVlp2p slothington\n' >> /root/.ssh/authorized_keys && \