File tree Expand file tree Collapse file tree 2 files changed +5
-13
lines changed
images/aarch64/ubuntu/6.5 Expand file tree Collapse file tree 2 files changed +5
-13
lines changed Original file line number Diff line number Diff line change 1- FROM ubuntu:23.10
1+ FROM ubuntu:22.04
22
3- ARG VERSION=6.5.0-17
4- ARG URL='http ://ports.ubuntu.com/ubuntu-ports/pool/main/l/linux/'
3+ ARG VERSION=6.5.0-1024-aws
4+ ARG URL='https ://ports.ubuntu.com/ubuntu-ports/pool/main/l/linux-aws-6.5 /'
55
66WORKDIR /home/ubuntu
77
@@ -32,13 +32,6 @@ RUN apt-get update && apt-get install -y \
3232 curl ${URL} | \
3333 grep -E "linux-headers-${VERSION}|linux-tools-${VERSION}" | \
3434 grep "arm64" | \
35- grep -v "64k" | \
36- cut -d\" -f8 | \
37- xargs -I@ curl -LO ${URL}@ && \
38- curl ${URL} | \
39- grep -E "linux-headers-${VERSION}|linux-tools-common-${VERSION}" | \
40- grep -E "_all.deb" | \
41- grep -v "64k" | \
4235 cut -d\" -f8 | \
4336 xargs -I@ curl -LO ${URL}@ && \
4437 find . -name '*.deb' | xargs -n1 dpkg -i --force-depends && \
Original file line number Diff line number Diff line change 11FROM initrd-builder:0.0.1 AS builder
22
3- ARG VERSION=6.5.0-17-generic
4- ARG URL='http ://ports.ubuntu.com/ubuntu-ports/pool/main/l/linux/'
3+ ARG VERSION=6.5.0-1024-aws
4+ ARG URL='https ://ports.ubuntu.com/ubuntu-ports/pool/main/l/linux-aws-6.5 /'
55
66WORKDIR /home/ubuntu
77
88RUN touch .placeholder && \
99 curl ${URL} | \
1010 grep 'arm64' | \
11- grep -v '64k' | \
1211 grep -oE "linux-image-unsigned-${VERSION}.*deb\"|linux-modules-${VERSION}.*deb\"" | \
1312 tr -d '"' | \
1413 xargs -I@ curl -LO ${URL}@ && \
You can’t perform that action at this time.
0 commit comments