Skip to content

Commit 417a4f9

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 fc40a15 commit 417a4f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM alpine:3 AS bookstack
22
ENV BOOKSTACK_VERSION=24.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)