Fossil SCM
build.wiki: dockerfile example now uses alpine v3.13 instead of alpine edge because 3.14+ unduly breaks stuff on many currently-common host OSes.
Commit
63ed857ad86ad0f914f36286339e8cb00f8e701dec4db31db6d9652aa23f05a3
Parent
e4f854db78fa435…
1 file changed
+4
-6
+4
-6
| --- www/build.wiki | ||
| +++ www/build.wiki | ||
| @@ -250,33 +250,31 @@ | ||
| 250 | 250 | are a member of the <tt>docker</tt> group). |
| 251 | 251 | |
| 252 | 252 | First, create a file named <tt>Dockerfile</tt> with the following contents: |
| 253 | 253 | |
| 254 | 254 | <pre><code> |
| 255 | -FROM alpine:edge | |
| 255 | +# Alpine >3.13 breaks stuff on many host OSes! For details see: | |
| 256 | +# https://wiki.alpinelinux.org/wiki/Draft_Release_Notes_for_Alpine_3.14.0#faccessat2 | |
| 257 | +# FROM alpine:edge | |
| 258 | +FROM alpine:3.13 | |
| 256 | 259 | RUN apk update \ |
| 257 | 260 | && apk upgrade \ |
| 258 | - \ | |
| 259 | 261 | && apk add --no-cache \ |
| 260 | 262 | curl gcc make tcl \ |
| 261 | 263 | musl-dev \ |
| 262 | 264 | openssl-dev zlib-dev \ |
| 263 | 265 | openssl-libs-static zlib-static \ |
| 264 | - \ | |
| 265 | 266 | && curl \ |
| 266 | 267 | "https://fossil-scm.org/home/tarball/fossil-src.tar.gz?name=fossil-src&uuid=trunk" \ |
| 267 | 268 | -o fossil-src.tar.gz \ |
| 268 | - \ | |
| 269 | 269 | && tar xf fossil-src.tar.gz \ |
| 270 | 270 | && cd fossil-src \ |
| 271 | - \ | |
| 272 | 271 | && ./configure \ |
| 273 | 272 | --static \ |
| 274 | 273 | --disable-fusefs \ |
| 275 | 274 | --with-th1-docs \ |
| 276 | 275 | --with-th1-hooks \ |
| 277 | - \ | |
| 278 | 276 | && make |
| 279 | 277 | </code></pre> |
| 280 | 278 | |
| 281 | 279 | Be sure to modify the <tt>configure</tt> flags, if desired. e.g., add <tt>--json</tt> |
| 282 | 280 | for JSON support. |
| 283 | 281 |
| --- www/build.wiki | |
| +++ www/build.wiki | |
| @@ -250,33 +250,31 @@ | |
| 250 | are a member of the <tt>docker</tt> group). |
| 251 | |
| 252 | First, create a file named <tt>Dockerfile</tt> with the following contents: |
| 253 | |
| 254 | <pre><code> |
| 255 | FROM alpine:edge |
| 256 | RUN apk update \ |
| 257 | && apk upgrade \ |
| 258 | \ |
| 259 | && apk add --no-cache \ |
| 260 | curl gcc make tcl \ |
| 261 | musl-dev \ |
| 262 | openssl-dev zlib-dev \ |
| 263 | openssl-libs-static zlib-static \ |
| 264 | \ |
| 265 | && curl \ |
| 266 | "https://fossil-scm.org/home/tarball/fossil-src.tar.gz?name=fossil-src&uuid=trunk" \ |
| 267 | -o fossil-src.tar.gz \ |
| 268 | \ |
| 269 | && tar xf fossil-src.tar.gz \ |
| 270 | && cd fossil-src \ |
| 271 | \ |
| 272 | && ./configure \ |
| 273 | --static \ |
| 274 | --disable-fusefs \ |
| 275 | --with-th1-docs \ |
| 276 | --with-th1-hooks \ |
| 277 | \ |
| 278 | && make |
| 279 | </code></pre> |
| 280 | |
| 281 | Be sure to modify the <tt>configure</tt> flags, if desired. e.g., add <tt>--json</tt> |
| 282 | for JSON support. |
| 283 |
| --- www/build.wiki | |
| +++ www/build.wiki | |
| @@ -250,33 +250,31 @@ | |
| 250 | are a member of the <tt>docker</tt> group). |
| 251 | |
| 252 | First, create a file named <tt>Dockerfile</tt> with the following contents: |
| 253 | |
| 254 | <pre><code> |
| 255 | # Alpine >3.13 breaks stuff on many host OSes! For details see: |
| 256 | # https://wiki.alpinelinux.org/wiki/Draft_Release_Notes_for_Alpine_3.14.0#faccessat2 |
| 257 | # FROM alpine:edge |
| 258 | FROM alpine:3.13 |
| 259 | RUN apk update \ |
| 260 | && apk upgrade \ |
| 261 | && apk add --no-cache \ |
| 262 | curl gcc make tcl \ |
| 263 | musl-dev \ |
| 264 | openssl-dev zlib-dev \ |
| 265 | openssl-libs-static zlib-static \ |
| 266 | && curl \ |
| 267 | "https://fossil-scm.org/home/tarball/fossil-src.tar.gz?name=fossil-src&uuid=trunk" \ |
| 268 | -o fossil-src.tar.gz \ |
| 269 | && tar xf fossil-src.tar.gz \ |
| 270 | && cd fossil-src \ |
| 271 | && ./configure \ |
| 272 | --static \ |
| 273 | --disable-fusefs \ |
| 274 | --with-th1-docs \ |
| 275 | --with-th1-hooks \ |
| 276 | && make |
| 277 | </code></pre> |
| 278 | |
| 279 | Be sure to modify the <tt>configure</tt> flags, if desired. e.g., add <tt>--json</tt> |
| 280 | for JSON support. |
| 281 |