-
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
Mar 21, 2024
1 parent
a3932af
commit a2b17b0
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.4.20240319.1-arm64.tar.xz" "https://amazon-linux-docker-sources.s3.amazonaws.com/al2023/2023.4.20240319.1/al2023-container-2023.4.20240319.1-arm64.tar.xz") \ | ||
&& echo '9965b27c32f46073bcd2bd3703c4c8507306359083c19a860e267e39d85c82f5 al2023-container-2023.4.20240319.1-arm64.tar.xz' >> /tmp/al2023-container-2023.4.20240319.1-arm64.tar.xz.sha256 \ | ||
&& cat /tmp/al2023-container-2023.4.20240319.1-arm64.tar.xz.sha256 \ | ||
&& sha256sum -c /tmp/al2023-container-2023.4.20240319.1-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.4.20240319.1 |