Rafael Calleja
commited on
Commit
·
a91c436
1
Parent(s):
1a28b23
follow links
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -17,7 +17,7 @@ WORKDIR /var/tmp/restic
|
|
| 17 |
RUN --security=insecure --mount=type=ssh sshfs -v -o auto_cache,reconnect,transform_symlinks,follow_symlinks ${SSH_USER}@${SSH_HOST}:${SSH_PATH} /var/tmp/restic && \
|
| 18 |
cd /var/tmp/restic && \
|
| 19 |
ls -la && \
|
| 20 |
-
make restore RESTORE_DST=${ROOTFS}
|
| 21 |
|
| 22 |
WORKDIR ${ROOTFS}
|
| 23 |
RUN --security=insecure \
|
|
@@ -41,7 +41,7 @@ RUN --security=insecure \
|
|
| 41 |
mount -t overlay overlay -o lowerdir=${ROOTFS}/home/eggs/.overlay/lowerdir/var,upperdir=${ROOTFS}/home/eggs/.overlay/upperdir/var,workdir=${ROOTFS}/home/eggs/.overlay/workdir/var ${ROOTFS}/home/eggs/.mnt/filesystem.squashfs/var || dmesg && \
|
| 42 |
chroot ${ROOTFS} /bin/bash -c "rm /etc/resolv.conf && \
|
| 43 |
echo nameserver 8.8.8.8 > /etc/resolv.conf && \
|
| 44 |
-
|
| 45 |
cd /tmp && \
|
| 46 |
/usr/bin/git clone https://github.com/pieroproietti/get-eggs && \
|
| 47 |
cd get-eggs && \
|
|
|
|
| 17 |
RUN --security=insecure --mount=type=ssh sshfs -v -o auto_cache,reconnect,transform_symlinks,follow_symlinks ${SSH_USER}@${SSH_HOST}:${SSH_PATH} /var/tmp/restic && \
|
| 18 |
cd /var/tmp/restic && \
|
| 19 |
ls -la && \
|
| 20 |
+
make restore RESTORE_DST=${ROOTFS}
|
| 21 |
|
| 22 |
WORKDIR ${ROOTFS}
|
| 23 |
RUN --security=insecure \
|
|
|
|
| 41 |
mount -t overlay overlay -o lowerdir=${ROOTFS}/home/eggs/.overlay/lowerdir/var,upperdir=${ROOTFS}/home/eggs/.overlay/upperdir/var,workdir=${ROOTFS}/home/eggs/.overlay/workdir/var ${ROOTFS}/home/eggs/.mnt/filesystem.squashfs/var || dmesg && \
|
| 42 |
chroot ${ROOTFS} /bin/bash -c "rm /etc/resolv.conf && \
|
| 43 |
echo nameserver 8.8.8.8 > /etc/resolv.conf && \
|
| 44 |
+
cp -L /boot/vmlinuz /boot/vmlinuz-$(uname -r) || true && \
|
| 45 |
cd /tmp && \
|
| 46 |
/usr/bin/git clone https://github.com/pieroproietti/get-eggs && \
|
| 47 |
cd get-eggs && \
|