Fossil SCM

Comment and whitespace tweaks

wyoung 2023-03-24 10:21 trunk
Commit 81c30ab97d39138e41d80fe3d4270669c29252dbdedd4e806a36f3bd447b62a4
+5 -5
--- Dockerfile
+++ Dockerfile
@@ -33,13 +33,13 @@
3333
&& ( cd bbx && yes "" | make oldconfig && make -j11 )
3434
3535
### The changeable Fossil layer is the only one in the first stage that
3636
### changes often, so add it last, to make it independent of the others.
3737
###
38
-### $FSLSTB can be either a file or a directory due to a ADD's bizarre
39
-### behavior: it unpacks tarballs when added from a local file but not
40
-### from a URL! It matters because we default to a URL in case you're
38
+### $FSLSTB can be either a file or a directory due to a bizarre ADD
39
+### misfeature: it unpacks tarballs when added from a local file but not
40
+### from a URL! It matters because we default to a URL in case you're
4141
### building outside a Fossil checkout, but when building via the
4242
### container-image target, we can avoid a costly hit on the Fossil
4343
### project's home site by pulling the data from the local repo via the
4444
### "tarball" command. This is a DVCS, after all!
4545
ARG FSLCFG=""
@@ -93,16 +93,16 @@
9393
/bin/sqlite3 \
9494
&& chmod +x /bin/sha?sum /bin/sqlite3
9595
9696
9797
## ---------------------------------------------------------------------
98
-## STAGE 3: Run!
98
+## RUN!
9999
## ---------------------------------------------------------------------
100100
101101
EXPOSE 8080/tcp
102102
CMD [ \
103103
"fossil", "server", \
104104
"--chroot", "/jail", \
105105
"--create", \
106106
"--jsmode", "bundled", \
107107
"--user", "admin", \
108
- "museum/repo.fossil"]
108
+ "museum/repo.fossil" ]
109109
--- Dockerfile
+++ Dockerfile
@@ -33,13 +33,13 @@
33 && ( cd bbx && yes "" | make oldconfig && make -j11 )
34
35 ### The changeable Fossil layer is the only one in the first stage that
36 ### changes often, so add it last, to make it independent of the others.
37 ###
38 ### $FSLSTB can be either a file or a directory due to a ADD's bizarre
39 ### behavior: it unpacks tarballs when added from a local file but not
40 ### from a URL! It matters because we default to a URL in case you're
41 ### building outside a Fossil checkout, but when building via the
42 ### container-image target, we can avoid a costly hit on the Fossil
43 ### project's home site by pulling the data from the local repo via the
44 ### "tarball" command. This is a DVCS, after all!
45 ARG FSLCFG=""
@@ -93,16 +93,16 @@
93 /bin/sqlite3 \
94 && chmod +x /bin/sha?sum /bin/sqlite3
95
96
97 ## ---------------------------------------------------------------------
98 ## STAGE 3: Run!
99 ## ---------------------------------------------------------------------
100
101 EXPOSE 8080/tcp
102 CMD [ \
103 "fossil", "server", \
104 "--chroot", "/jail", \
105 "--create", \
106 "--jsmode", "bundled", \
107 "--user", "admin", \
108 "museum/repo.fossil"]
109
--- Dockerfile
+++ Dockerfile
@@ -33,13 +33,13 @@
33 && ( cd bbx && yes "" | make oldconfig && make -j11 )
34
35 ### The changeable Fossil layer is the only one in the first stage that
36 ### changes often, so add it last, to make it independent of the others.
37 ###
38 ### $FSLSTB can be either a file or a directory due to a bizarre ADD
39 ### misfeature: it unpacks tarballs when added from a local file but not
40 ### from a URL! It matters because we default to a URL in case you're
41 ### building outside a Fossil checkout, but when building via the
42 ### container-image target, we can avoid a costly hit on the Fossil
43 ### project's home site by pulling the data from the local repo via the
44 ### "tarball" command. This is a DVCS, after all!
45 ARG FSLCFG=""
@@ -93,16 +93,16 @@
93 /bin/sqlite3 \
94 && chmod +x /bin/sha?sum /bin/sqlite3
95
96
97 ## ---------------------------------------------------------------------
98 ## RUN!
99 ## ---------------------------------------------------------------------
100
101 EXPOSE 8080/tcp
102 CMD [ \
103 "fossil", "server", \
104 "--chroot", "/jail", \
105 "--create", \
106 "--jsmode", "bundled", \
107 "--user", "admin", \
108 "museum/repo.fossil" ]
109
--- containers/Dockerfile-nojail.patch
+++ containers/Dockerfile-nojail.patch
@@ -53,7 +53,7 @@
5353
"fossil", "server", \
5454
- "--chroot", "/jail", \
5555
"--create", \
5656
"--jsmode", "bundled", \
5757
"--user", "admin", \
58
- "museum/repo.fossil"]
58
+ "museum/repo.fossil" ]
5959
6060
--- containers/Dockerfile-nojail.patch
+++ containers/Dockerfile-nojail.patch
@@ -53,7 +53,7 @@
53 "fossil", "server", \
54 - "--chroot", "/jail", \
55 "--create", \
56 "--jsmode", "bundled", \
57 "--user", "admin", \
58 "museum/repo.fossil"]
59
60
--- containers/Dockerfile-nojail.patch
+++ containers/Dockerfile-nojail.patch
@@ -53,7 +53,7 @@
53 "fossil", "server", \
54 - "--chroot", "/jail", \
55 "--create", \
56 "--jsmode", "bundled", \
57 "--user", "admin", \
58 "museum/repo.fossil" ]
59
60

Keyboard Shortcuts

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