Skip to content

Commit fd32305

Browse files
committed
Update to Amazon Linux 2022
1 parent c7e783a commit fd32305

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Makefile

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
OUT_ZIP=Amazon2.zip
2-
LNCR_EXE=Amazon2.exe
1+
OUT_ZIP=AL2022.zip
2+
LNCR_EXE=AL2022.exe
33

44
DLR=curl
55
DLR_FLAGS=-L
6-
LNCR_URL=https://github.com/yuk7/wsldl/releases/download/21082800/wsldl.exe
6+
LNCR_URL=https://github.com/yuk7/wsldl/releases/download/22020900/wsldl.exe
77

88
all: $(OUT_ZIP)
99

@@ -38,7 +38,7 @@ rootfs: base.tar
3838

3939
base.tar:
4040
@echo -e '\e[1;31mExporting base.tar using docker...\e[m'
41-
docker run --name amazonwsl library/amazonlinux:2.0.20220606.1 /bin/bash -c "yum update -y; yum install -y net-tools util-linux-ng; yum clean all; rm -rf /var/cache/yum; pwconv; grpconv; chmod 0744 /etc/shadow; chmod 0744 /etc/gshadow;"
41+
docker run --name amazonwsl library/amazonlinux:2022.0.20221207.4 /bin/bash -c "yum update -y; yum install -y net-tools util-linux-ng; yum clean all; rm -rf /var/cache/yum; pwconv; grpconv; chmod 0744 /etc/shadow; chmod 0744 /etc/gshadow;"
4242
docker export --output=base.tar amazonwsl
4343
docker rm -f amazonwsl
4444

@@ -50,4 +50,4 @@ clean:
5050
-rm rootfs.tar.gz
5151
-sudo rm -r rootfs
5252
-rm base.tar
53-
-docker rmi amazonlinux:2.0.20220606.1
53+
-docker rmi amazonlinux:2022.0.20221207.4

0 commit comments

Comments
 (0)