-
Notifications
You must be signed in to change notification settings - Fork 301
Closed
Description
"make" reports "/bin/sh: Operation not permitted".
To reproduce ...
$ docker run -ti --rm alpine:3.14.0
/ # cd
~ # apk add make
fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz
(1/1) Installing make (4.3-r0)
Executing busybox-1.33.1-r2.trigger
OK: 6 MiB in 15 packages
~ # echo -e "one:\n\tdate > one" > Makefile
~ # cat Makefile
one:
date > one
~ # make
date > one
make: /bin/sh: Operation not permitted
make: *** [Makefile:2: one] Error 127
~ #
This works with alpine 3.13.4 ...
$ docker run -ti --rm alpine:3.13.4
/ # cd
~ # apk add make
fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz
(1/1) Installing make (4.3-r0)
Executing busybox-1.32.1-r5.trigger
OK: 6 MiB in 15 packages
~ # echo -e "one:\n\tdate > one" > Makefile
~ # cat Makefile
one:
date > one
~ # make
date > one
~ #
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels