Fossil SCM
Moved the default repo name from ENTRYPOINT to CMD to allow overriding with --repolist by those wanting that mode of operation. You cannot give both a repo name and this flag, as correctly pointed out by ckennedy [forum:/forumpost/da72faac39ad36bb | on the forum].
Commit
72859937fa52362bc108542119849876c6681ecd5ed3053bafb249f441145a04
Parent
2917bedadae3827…
1 file changed
+3
-2
+3
-2
| --- Dockerfile | ||
| +++ Dockerfile | ||
| @@ -81,10 +81,11 @@ | ||
| 81 | 81 | ## --------------------------------------------------------------------- |
| 82 | 82 | |
| 83 | 83 | ENV PATH "/bin" |
| 84 | 84 | EXPOSE 8080/tcp |
| 85 | 85 | USER fossil |
| 86 | -ENTRYPOINT [ "fossil", "server", "museum/repo.fossil" ] | |
| 86 | +ENTRYPOINT [ "fossil", "server" ] | |
| 87 | 87 | CMD [ \ |
| 88 | 88 | "--create", \ |
| 89 | 89 | "--jsmode", "bundled", \ |
| 90 | - "--user", "admin" ] | |
| 90 | + "--user", "admin", \ | |
| 91 | + "museum/repo.fossil" ] | |
| 91 | 92 |
| --- Dockerfile | |
| +++ Dockerfile | |
| @@ -81,10 +81,11 @@ | |
| 81 | ## --------------------------------------------------------------------- |
| 82 | |
| 83 | ENV PATH "/bin" |
| 84 | EXPOSE 8080/tcp |
| 85 | USER fossil |
| 86 | ENTRYPOINT [ "fossil", "server", "museum/repo.fossil" ] |
| 87 | CMD [ \ |
| 88 | "--create", \ |
| 89 | "--jsmode", "bundled", \ |
| 90 | "--user", "admin" ] |
| 91 |
| --- Dockerfile | |
| +++ Dockerfile | |
| @@ -81,10 +81,11 @@ | |
| 81 | ## --------------------------------------------------------------------- |
| 82 | |
| 83 | ENV PATH "/bin" |
| 84 | EXPOSE 8080/tcp |
| 85 | USER fossil |
| 86 | ENTRYPOINT [ "fossil", "server" ] |
| 87 | CMD [ \ |
| 88 | "--create", \ |
| 89 | "--jsmode", "bundled", \ |
| 90 | "--user", "admin", \ |
| 91 | "museum/repo.fossil" ] |
| 92 |