bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Make 4.3 permission denies docker commands


From: Sandy Urazayev
Subject: Make 4.3 permission denies docker commands
Date: Wed, 12 Feb 2020 16:59:59 -0600
User-agent: Every email client sucks, this one just sucks less.

Good afternoon! My name is Sandy and I found a breaking issue that
currently prevents me from working with Make 4.3 and forced to downgrade
to Make 4.2. The problem I found was the docker building. If I have a
command

```
docker build ...
```

Make 4.3 gives me the following issue:

```
mib:master > make build
go build -v
docker --config ./.docker  build -t myimage:latest .
make: docker: Permission denied
make: *** [Makefile:73: buildlocal] Error 127
----
GNU Make 4.3
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
```

I would suspect that new Make 4.3 runs the command as the other user or
with a different context? My user has the permissions to run docker. After 
downgrading
back to Make 4.2, the problem disappears.

```
mib:master* > make build
go build -v
docker --config ./.docker  build -t myimage:latest .
Sending build context to Docker daemon  78.19MB
...
----
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
```

Thank you

-- 
Sandy



reply via email to

[Prev in Thread] Current Thread [Next in Thread]