abiosoft / abiosoft/caddy-docker

Unable to delete /srv/index.php on PHP variant

未关闭
#167 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Shell
星标
787
派生
303
PR 合并指标
30 天内没有已合并 PR

描述

```
elimbp @ Johans-MacBook-Pro ~/docker-test/caddy
└─ $ ▶ cat Dockerfile
FROM abiosoft/caddy:0.11.3-php-no-stats
RUN rm -rf /srv/index.php
RUN ls -la /srv
elimbp @ Johans-MacBook-Pro ~/docker-test/caddy
└─ $ ▶ docker image build --no-cache -t testcaddy .
Sending build context to Docker daemon 2.048kB
Step 1/3 : FROM abiosoft/caddy:0.11.3-php-no-stats
---> 31b711527125
Step 2/3 : RUN rm -rf /srv/index.php
---> Running in a7c61ae1892b
Removing intermediate container a7c61ae1892b
---> 6159ef73786a
Step 3/3 : RUN ls -la /srv
---> Running in 8c4f434f88a2
total 12
drwxr-xr-x 2 root root 4096 Feb 14 14:24 .
drwxr-xr-x 1 root root 4096 Feb 14 14:24 ..
-rw-r--r-- 1 root root 555 Feb 6 13:38 index.php <----- SHOULD BE DELETED
Removing intermediate container 8c4f434f88a2
---> 81189f83b665
Successfully built 81189f83b665
Successfully tagged testcaddy:latest
```

I am on macOS if that is to any help.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。