Skip to content

Commit 01e6711

Browse files
ekoopsirozzo-1A
authored andcommitted
fix(images/aarch64/ubuntu/6.5): replace unavailable mirror and version
Contextually, replace `rootfs` base image with `ubuntu:22.04`. Signed-off-by: Leonardo Di Giovanna <[email protected]> Co-Authored-By: irozzo-1A <[email protected]>
1 parent c6b8920 commit 01e6711

File tree

2 files changed

+5
-13
lines changed

2 files changed

+5
-13
lines changed

images/aarch64/ubuntu/6.5/Dockerfile

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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

66
WORKDIR /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 && \

images/aarch64/ubuntu/6.5/Dockerfile.kernel

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
FROM 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

66
WORKDIR /home/ubuntu
77

88
RUN 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}@ && \

0 commit comments

Comments
 (0)