File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change 1+ FROM  alpine:3.17 AS verify
2+ RUN  apk add --no-cache curl tar xz
3+ 
4+ 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" ) \
5+   && echo '403cb8cfa96897612eb8ea0cff9e6eebd6753d692f279215407453a1bcaf057b  al2023-container-2023.6.20241010.1-arm64.tar.xz'  >> /tmp/al2023-container-2023.6.20241010.1-arm64.tar.xz.sha256 \
6+   && cat /tmp/al2023-container-2023.6.20241010.1-arm64.tar.xz.sha256 \
7+   && sha256sum -c /tmp/al2023-container-2023.6.20241010.1-arm64.tar.xz.sha256 \
8+   && mkdir /rootfs \
9+   && tar -C /rootfs --extract --file "${ROOTFS}" 
10+ 
11+ FROM  scratch AS root
12+ COPY  --from=verify /rootfs/ /
13+ 
14+ CMD  ["/bin/bash" ]
Original file line number Diff line number Diff line change 1+ 2023.6.20241010.1
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments