=> ERROR [ 3/11] RUN ln -snf /usr/share/zoneinfo/UTC /etc/localtime && echo UTC > /etc/timezone 0.2s
------
> [ 3/11] RUN ln -snf /usr/share/zoneinfo/UTC /etc/localtime && echo UTC > /etc/timezone:
#0 0.174 ln: failed to create symbolic link '/etc/localtime': Permission denied
------
failed to solve: executor failed running [/bin/sh -c ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone]: exit code: 1
I'm using macOS. I have not made any modifications. Just that curl command and it says permissions denied. I'm not sure what's going on here. Any idea?
I did this and it resolved the problem
ran php artisan sail:publish then in docker/8.1/Dockerfile updated first line to FROM ubuntu:latest and it resolved the issue.