Closed
Description
With Alpine 3.14.0 update running shell scripts from Makefile produces the following error:
make: /bin/sh: Operation not permitted
How to reproduce:
- Create simple
Makefile
:
.PHONY: test
test:
run_test
- Create shell script
/usr/local/bin/run_test
:
#!/usr/bin/env bash
echo 123
- Make it executable:
chmod +x /usr/local/bin/run_test
- Install make
apk add --update make
- Run
make test
, you'll get
run_test
make: run_test: Operation not permitted
make: *** [Makefile:3: test] Error 127
Also reported at https://gitlab.alpinelinux.org/alpine/aports/-/issues/12396
Does not seem to have issues with the newer docker versions.
Metadata
Metadata
Assignees
Labels
No labels