Skip to content

Commit

Permalink
Add wsl.conf
Browse files Browse the repository at this point in the history
We need the wsl.conf in order to have proper file permissions inside of
the resulting build
  • Loading branch information
greg-hellings committed Aug 11, 2021
1 parent bea453e commit ef43e03
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions Containerfile.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
FROM fedora:latest

ADD wsl.conf /etc/wsl.conf
RUN dnf -y install 'dnf-command(copr)' passwd sudo && \
dnf -y copr enable trustywolf/wslu && \
dnf -y install wslu && \
Expand Down
3 changes: 3 additions & 0 deletions wsl.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[automount]
enabled = true
options = "metadata,umask=22,fmask=11"

0 comments on commit ef43e03

Please sign in to comment.