Skip to content

Commit

Permalink
Remove sudo due to broken file permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
yosukes-dev committed Mar 4, 2020
1 parent 1bf3942 commit 8cd21cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
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:31 /bin/bash -c "dnf update -y; dnf clean all; pwconv; grpconv; chmod 0744 /etc/shadow; chmod 0744 /etc/gshadow;"
docker run --name fedorawsl library/fedora:31 /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 Down

0 comments on commit 8cd21cc

Please sign in to comment.