Skip to content

Commit 483baeb

Browse files
committed
refactor: use true tag name for BOOKSTACK_VERSION
This allows the latest tag to be fetched from GitHub's API and used directly, instead of requiring parsing.
1 parent 3a0104e commit 483baeb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
FROM alpine:3 AS bookstack
2-
ENV BOOKSTACK_VERSION=24.10.2
2+
ENV BOOKSTACK_VERSION=v24.10.2
33
RUN apk add --no-cache curl tar
44
RUN set -x; \
5-
curl -SL -o bookstack.tar.gz https://github.com/BookStackApp/BookStack/archive/v${BOOKSTACK_VERSION}.tar.gz \
5+
curl -SL -o bookstack.tar.gz https://github.com/BookStackApp/BookStack/archive/${BOOKSTACK_VERSION}.tar.gz \
66
&& mkdir -p /bookstack \
77
&& tar xvf bookstack.tar.gz -C /bookstack --strip-components=1 \
88
&& rm bookstack.tar.gz

0 commit comments

Comments
 (0)