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.

wyoung 2023-01-17 20:35 trunk
Commit 80faedbc519b175c5c1322853acff578bb91537dbc5571b74ee7836025620c58
1 file changed +1 -1
+1 -1
--- Dockerfile
+++ Dockerfile
@@ -106,11 +106,11 @@
106106
## STAGE 3: Run!
107107
## ---------------------------------------------------------------------
108108
109109
EXPOSE 8080/tcp
110110
CMD [ \
111
- "bin/fossil", "server", \
111
+ "fossil", "server", \
112112
"--chroot", "/jail", \
113113
"--create", \
114114
"--jsmode", "bundled", \
115115
"--user", "admin", \
116116
"museum/repo.fossil"]
117117
--- 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

Keyboard Shortcuts

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