We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7095a1a + 8b4e656 commit 0523debCopy full SHA for 0523deb
Dockerfile
@@ -1,5 +1,5 @@
1
FROM alpine:3 AS bookstack
2
-ENV BOOKSTACK_VERSION=v24.10.3
+ENV BOOKSTACK_VERSION=v24.12
3
RUN apk add --no-cache curl tar
4
RUN set -x; \
5
curl -SL -o bookstack.tar.gz https://github.com/BookStackApp/BookStack/archive/${BOOKSTACK_VERSION}.tar.gz \
README.md
@@ -70,8 +70,8 @@ Networking changed in Docker v1.9, so you need to do one of the following steps.
70
```bash
71
docker run -d --link bookstack_db_:mysql \
72
-p 8080:8080 \
73
- --name bookstack_24.10.3 \
74
- solidnerd/bookstack:24.10.3
+ --name bookstack_24.12.0 \
+ solidnerd/bookstack:24.12.0
75
```
76
77
### Docker 1.9+
@@ -104,8 +104,8 @@ Networking changed in Docker v1.9, so you need to do one of the following steps.
104
-e DB_PASSWORD=secret \
105
-e APP_URL=http://example.com \
106
107
- --name="bookstack_24.10.3" \
108
+ --name="bookstack_24.12.0" \
109
110
111
The APP_URL parameter should be the base URL for your BookStack instance without
VERSION
@@ -1 +1 @@
-24.10.3
+24.12.0
docker-compose.yml
@@ -11,7 +11,7 @@ services:
11
- mysql-data:/var/lib/mysql
12
13
bookstack:
14
- image: solidnerd/bookstack:24.10.3
+ image: solidnerd/bookstack:24.12.0
15
depends_on:
16
- mysql
17
environment:
scripts/update_tags_and_docs.sh
@@ -16,9 +16,14 @@ echo "Extracted version: ${BOOKSTACK_VERSION}"
# Remove the 'v' for our tags
BOOKSTACK_VERSION="${BOOKSTACK_VERSION/#v/}"
18
# Remove leading zeros to make the version fit a SemVer-shaped hole
19
-BOOKSTACK_VERSION="${BOOKSTACK_VERSION/.0/.}"
20
-# And again for patch version, just in case
21
+BOOKSTACK_VERSION="${BOOKSTACK_VERSION//.0?/.}"
+
+# If the version only has one decimal dot in it, it doesn't have a patch
22
+# version and one should be added to ensure semver-shape.
23
+BS_DECIMALS="${BOOKSTACK_VERSION//[^.]}"
24
+if [[ "${#BS_DECIMALS}" -eq "1" ]]; then
25
+ BOOKSTACK_VERSION="${BOOKSTACK_VERSION}.0"
26
+fi
27
28
echo "Tag name: ${BOOKSTACK_VERSION}"
29
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments