Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
cmspam authored May 12, 2024
1 parent 4c5aca2 commit 99d9f9c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions debian-version/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,13 @@ RUN echo "#!/bin/bash" > /sbin/systemctl && \
echo 'trap "cleanup; exit" SIGTERM' >> /start.sh && \
echo 'cleanup() {' >> /start.sh && \
echo ' echo "Stopping incusd..."' >> /start.sh && \
echo ' incus admin shutdown' >> /start.sh && \
echo ' pkill -TERM incusd' >> /start.sh && \
echo ' echo "Stopped incusd."' >> /start.sh && \
echo ' echo "Stopping lxcfs..."' >> /start.sh && \
echo ' pkill -TERM lxcfs' >> /start.sh && \
echo ' fusermount -u /var/lib/incus/lxcfs' >> /start.sh && \
echo ' echo "Stopped lxcfs."' >> /start.sh && \
echo '}' >> /start.sh && \
echo 'export PATH="/opt/incus/bin/:${PATH}"' >> /start.sh && \
echo 'export INCUS_OVMF_PATH="/opt/incus/share/qemu/"' >> /start.sh && \
Expand Down

0 comments on commit 99d9f9c

Please sign in to comment.