TezosTaqueria / taqueria

*BETA* Taqueria provides a seamless development workflow to easily build, test and deploy your Tezos applications.
https://taqueria.io
Apache License 2.0
64 stars 20 forks source link

๐Ÿ› Bug โžพ taq ligo --command creates folder with root user #1670

Closed zamrokk closed 1 year ago

zamrokk commented 1 year ago

๐Ÿšฅ Status (Internal Taqueria Team Use Only)

๐Ÿ†˜ What happened?

when I run

TAQ_LIGO_IMAGE=ligolang/ligo:0.58.0 taq ligo --command "init contract --template shifumi-jsligo shifumiTemplate"

The folder shifumiTemplateis created on root user.

Is it possible to attach the current Unix user to the folder and not root ?

๐Ÿ†˜ Steps to Reproduce?

see above

๐Ÿชต Relevant log output

drwxr-xr-x   5 root    root      4096 Dec 27 09:50 shifumiTemplate

๐Ÿ˜ How impactful is this bug?

๐Ÿœ Minor annoyance

โฑ๏ธ Prevalance

No response

๐Ÿ’ป Operating System

Windows -> WSL

๐Ÿ•ธ๏ธ System Architecture

x64

๐ŸŒฎ Taqueria Version

0.24.2

๐ŸŒฟ Node.js Version

No response

โ˜Ž๏ธ Contact Details

No response

Code of Conduct

zamrokk commented 1 year ago

btw, when we run the ligo CLI , it is on the current user and not root, as expected

zamrokk commented 1 year ago

I reopen because now I cannot download ligo libraries doing this command :

TAQ_LIGO_IMAGE=ligolang/ligo:0.57.0 taq ligo --command "install @ligo/fa"
docker: Error response from daemon: unable to find user undefined: no matching entries in passwd file.
Command "install @ligo/fa" failed. Please check your command
zamrokk commented 1 year ago

if I change ligo version it does not change the error above.

zamrokk commented 1 year ago

I have a lot of issues with Docker recently , I upgraded it several times With last v4.17 I have this problem with taqueria

Maybe is caused by last Docker version ?

zamrokk commented 1 year ago

I have 2 other people with same errors and config like mine : Windows + WSL2 Ubuntu and last Docker v4.17

zamrokk commented 1 year ago

taq compile-all works fine, it seems to be the only the ligo install

zamrokk commented 1 year ago

QUICK WORKAROUND :