Fossil SCM

Switched to a split ENTRYPOINT/CMD scheme for launching the Fossil server in the container. The immediate need is so we lower-level ENTRYPOINTs provided by mix-in layers, but it's more correct generally. ENTRYPOINT says this is the hard-coded purpose of the container, and CMD gives the arguments to that command. The split is therefore between the mandatory parts and the parts the user might want to override without needing to write their own Dockerfile.

wyoung 2023-03-27 06:33 trunk
Commit deb99e22e143fb91496ce16b26f91d36092b36b00e3a5045ab33633f82b55c1b
1 file changed +2 -3
+2 -3
--- Dockerfile
+++ Dockerfile
@@ -86,11 +86,10 @@
8686
## ---------------------------------------------------------------------
8787
8888
ENV PATH "/bin"
8989
EXPOSE 8080/tcp
9090
USER fossil
91
+ENTRYPOINT [ "fossil", "server", "museum/repo.fossil" ]
9192
CMD [ \
92
- "fossil", "server", \
9393
"--create", \
9494
"--jsmode", "bundled", \
95
- "--user", "admin", \
96
- "museum/repo.fossil" ]
95
+ "--user", "admin" ]
9796
--- Dockerfile
+++ Dockerfile
@@ -86,11 +86,10 @@
86 ## ---------------------------------------------------------------------
87
88 ENV PATH "/bin"
89 EXPOSE 8080/tcp
90 USER fossil
 
91 CMD [ \
92 "fossil", "server", \
93 "--create", \
94 "--jsmode", "bundled", \
95 "--user", "admin", \
96 "museum/repo.fossil" ]
97
--- Dockerfile
+++ Dockerfile
@@ -86,11 +86,10 @@
86 ## ---------------------------------------------------------------------
87
88 ENV PATH "/bin"
89 EXPOSE 8080/tcp
90 USER fossil
91 ENTRYPOINT [ "fossil", "server", "museum/repo.fossil" ]
92 CMD [ \
 
93 "--create", \
94 "--jsmode", "bundled", \
95 "--user", "admin" ]
 
96

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button