-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Nobody
committed
Aug 19, 2024
1 parent
a3932af
commit 26976ae
Showing
2 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
FROM alpine:3.17 AS verify | ||
RUN apk add --no-cache curl tar xz | ||
|
||
RUN ROOTFS=$(curl -sfOJL -w "al2023-container-2023.5.20240819.0-arm64.tar.xz" "https://amazon-linux-docker-sources.s3.amazonaws.com/al2023/2023.5.20240819.0/al2023-container-2023.5.20240819.0-arm64.tar.xz") \ | ||
&& echo '107f65fad686b48851ad9984ddfdfe0507f1020057f66a9a044681659229bd7f al2023-container-2023.5.20240819.0-arm64.tar.xz' >> /tmp/al2023-container-2023.5.20240819.0-arm64.tar.xz.sha256 \ | ||
&& cat /tmp/al2023-container-2023.5.20240819.0-arm64.tar.xz.sha256 \ | ||
&& sha256sum -c /tmp/al2023-container-2023.5.20240819.0-arm64.tar.xz.sha256 \ | ||
&& mkdir /rootfs \ | ||
&& tar -C /rootfs --extract --file "${ROOTFS}" | ||
|
||
FROM scratch AS root | ||
COPY --from=verify /rootfs/ / | ||
|
||
CMD ["/bin/bash"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
2023.5.20240819.0 |