Skip to content

Commit

Permalink
Update to Fedora 36
Browse files Browse the repository at this point in the history
I test on a Fedora 36 with podman ( and the tool that map docker command to podman podman-docker) and its works
  • Loading branch information
yodatak authored Jun 3, 2022
1 parent e6fd0e3 commit 1ef95f6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
OUT_ZIP=Fedora35.zip
LNCR_EXE=Fedora35.exe
OUT_ZIP=Fedora36.zip
LNCR_EXE=Fedora36.exe

DLR=curl
DLR_FLAGS=-L
Expand Down Expand Up @@ -43,7 +43,7 @@ rootfs: base.tar

base.tar:
@echo -e '\e[1;31mExporting base.tar using docker...\e[m'
docker run --name fedorawsl library/fedora@sha256:db8380e69336e37a94bacad856abfde03cd7060f53530be1c7de32526b00dfd0 /bin/bash -c "dnf update -y; rpm -e --nodeps sudo; dnf clean all; pwconv; grpconv; chmod 0744 /etc/shadow; chmod 0744 /etc/gshadow;"
docker run --name fedorawsl library/fedora@sha256:486fd5578f93fbc57a519e34ad4b7cac927c3f8a95409baedf0c19e9f287c207 /bin/bash -c "dnf update -y; rpm -e --nodeps sudo; dnf clean all; pwconv; grpconv; chmod 0744 /etc/shadow; chmod 0744 /etc/gshadow;"
docker export --output=base.tar fedorawsl
docker rm -f fedorawsl

Expand All @@ -56,4 +56,4 @@ clean:
-rm rootfs.tar.gz
-sudo rm -r rootfs
-rm base.tar
-docker rmi library/fedora@sha256:db8380e69336e37a94bacad856abfde03cd7060f53530be1c7de32526b00dfd0
-docker rmi library/fedora@sha256:486fd5578f93fbc57a519e34ad4b7cac927c3f8a95409baedf0c19e9f287c207

0 comments on commit 1ef95f6

Please sign in to comment.