Fossil SCM
No longer running "fossil" with a relative path ("bin/fossil") at the end of the Dockerfile, but instead relying on the hard-coded PATH defined a few sections prior. This allows the same command to work for both the rootful and rootless cases since moving the binary into /usr/bin/fossil to placate nspawn. Before, it was /jail/bin vs /bin, so the difference netted out to nothing.
Commit
80faedbc519b175c5c1322853acff578bb91537dbc5571b74ee7836025620c58
Parent
6eefa9b0d7b13c5…
1 file changed
+1
-1
+1
-1
| --- Dockerfile | ||
| +++ Dockerfile | ||
| @@ -106,11 +106,11 @@ | ||
| 106 | 106 | ## STAGE 3: Run! |
| 107 | 107 | ## --------------------------------------------------------------------- |
| 108 | 108 | |
| 109 | 109 | EXPOSE 8080/tcp |
| 110 | 110 | CMD [ \ |
| 111 | - "bin/fossil", "server", \ | |
| 111 | + "fossil", "server", \ | |
| 112 | 112 | "--chroot", "/jail", \ |
| 113 | 113 | "--create", \ |
| 114 | 114 | "--jsmode", "bundled", \ |
| 115 | 115 | "--user", "admin", \ |
| 116 | 116 | "museum/repo.fossil"] |
| 117 | 117 |
| --- Dockerfile | |
| +++ Dockerfile | |
| @@ -106,11 +106,11 @@ | |
| 106 | ## STAGE 3: Run! |
| 107 | ## --------------------------------------------------------------------- |
| 108 | |
| 109 | EXPOSE 8080/tcp |
| 110 | CMD [ \ |
| 111 | "bin/fossil", "server", \ |
| 112 | "--chroot", "/jail", \ |
| 113 | "--create", \ |
| 114 | "--jsmode", "bundled", \ |
| 115 | "--user", "admin", \ |
| 116 | "museum/repo.fossil"] |
| 117 |
| --- Dockerfile | |
| +++ Dockerfile | |
| @@ -106,11 +106,11 @@ | |
| 106 | ## STAGE 3: Run! |
| 107 | ## --------------------------------------------------------------------- |
| 108 | |
| 109 | EXPOSE 8080/tcp |
| 110 | CMD [ \ |
| 111 | "fossil", "server", \ |
| 112 | "--chroot", "/jail", \ |
| 113 | "--create", \ |
| 114 | "--jsmode", "bundled", \ |
| 115 | "--user", "admin", \ |
| 116 | "museum/repo.fossil"] |
| 117 |