Fossil SCM
Set permissions on /bin/fossil inside the container to 755, not 700. Docker doesn't care since it runs everything as virtual-root, but Podman does. Also, it complicates the extraction of a static binary since you probably didn't want it set to 700 root:root out on the host, too.
Commit
260efac1daca0deacfbe730744ff68e0dc6968aa96b7fd98fee6bffacf7b320e
Parent
f9bd6273d914afa…
1 file changed
+1
-1
+1
-1
| --- Dockerfile | ||
| +++ Dockerfile | ||
| @@ -67,11 +67,11 @@ | ||
| 67 | 67 | ## --------------------------------------------------------------------- |
| 68 | 68 | ## STAGE 3: Drop BusyBox, too, now that we're done with its /bin/sh &c |
| 69 | 69 | ## --------------------------------------------------------------------- |
| 70 | 70 | |
| 71 | 71 | FROM scratch AS run |
| 72 | -COPY --from=bld --chmod=700 /fsl/fossil /bin/ | |
| 72 | +COPY --from=bld --chmod=755 /fsl/fossil /bin/ | |
| 73 | 73 | COPY --from=os --chmod=600 /e/* /etc/ |
| 74 | 74 | COPY --from=os --chmod=1777 /tmp /tmp/ |
| 75 | 75 | COPY --from=os --chown=fossil:fossil /log /log/ |
| 76 | 76 | COPY --from=os --chown=fossil:fossil /museum /museum/ |
| 77 | 77 | |
| 78 | 78 |
| --- Dockerfile | |
| +++ Dockerfile | |
| @@ -67,11 +67,11 @@ | |
| 67 | ## --------------------------------------------------------------------- |
| 68 | ## STAGE 3: Drop BusyBox, too, now that we're done with its /bin/sh &c |
| 69 | ## --------------------------------------------------------------------- |
| 70 | |
| 71 | FROM scratch AS run |
| 72 | COPY --from=bld --chmod=700 /fsl/fossil /bin/ |
| 73 | COPY --from=os --chmod=600 /e/* /etc/ |
| 74 | COPY --from=os --chmod=1777 /tmp /tmp/ |
| 75 | COPY --from=os --chown=fossil:fossil /log /log/ |
| 76 | COPY --from=os --chown=fossil:fossil /museum /museum/ |
| 77 | |
| 78 |
| --- Dockerfile | |
| +++ Dockerfile | |
| @@ -67,11 +67,11 @@ | |
| 67 | ## --------------------------------------------------------------------- |
| 68 | ## STAGE 3: Drop BusyBox, too, now that we're done with its /bin/sh &c |
| 69 | ## --------------------------------------------------------------------- |
| 70 | |
| 71 | FROM scratch AS run |
| 72 | COPY --from=bld --chmod=755 /fsl/fossil /bin/ |
| 73 | COPY --from=os --chmod=600 /e/* /etc/ |
| 74 | COPY --from=os --chmod=1777 /tmp /tmp/ |
| 75 | COPY --from=os --chown=fossil:fossil /log /log/ |
| 76 | COPY --from=os --chown=fossil:fossil /museum /museum/ |
| 77 | |
| 78 |