-
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
Jul 22, 2024
1 parent
a3932af
commit e83b7c7
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.20240722.0-arm64.tar.xz" "https://amazon-linux-docker-sources.s3.amazonaws.com/al2023/2023.5.20240722.0/al2023-container-2023.5.20240722.0-arm64.tar.xz") \ | ||
&& echo 'f484e55ff861437b3bd6e318d6170307799a8904b7284aac9e5622330d14ac61 al2023-container-2023.5.20240722.0-arm64.tar.xz' >> /tmp/al2023-container-2023.5.20240722.0-arm64.tar.xz.sha256 \ | ||
&& cat /tmp/al2023-container-2023.5.20240722.0-arm64.tar.xz.sha256 \ | ||
&& sha256sum -c /tmp/al2023-container-2023.5.20240722.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.20240722.0 |