-
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
Oct 18, 2024
1 parent
a3932af
commit 2612741
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.6.20241010.1-arm64.tar.xz" "https://amazon-linux-docker-sources.s3.amazonaws.com/al2023/2023.6.20241010.1/al2023-container-2023.6.20241010.1-arm64.tar.xz") \ | ||
&& echo '403cb8cfa96897612eb8ea0cff9e6eebd6753d692f279215407453a1bcaf057b al2023-container-2023.6.20241010.1-arm64.tar.xz' >> /tmp/al2023-container-2023.6.20241010.1-arm64.tar.xz.sha256 \ | ||
&& cat /tmp/al2023-container-2023.6.20241010.1-arm64.tar.xz.sha256 \ | ||
&& sha256sum -c /tmp/al2023-container-2023.6.20241010.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.6.20241010.1 |