Skip to content

Commit

Permalink
Use the release archive instead of the git archive
Browse files Browse the repository at this point in the history
  • Loading branch information
yguedidi committed Sep 27, 2023
1 parent 36d4bf5 commit 92788d6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
ARG COMPOSER_VERSION=2.5.8
ARG WALLABAG_VERSION=2.6.4

FROM composer:$COMPOSER_VERSION as composer

Expand Down Expand Up @@ -66,7 +67,7 @@ COPY --from=composer /usr/bin/composer /usr/local/bin/composer
COPY root /

RUN set -ex \
&& curl -L -o /tmp/wallabag.tar.gz https://github.com/wallabag/wallabag/archive/$WALLABAG_VERSION.tar.gz \
&& curl -L -o /tmp/wallabag.tar.gz https://github.com/wallabag/wallabag/releases/download/$WALLABAG_VERSION/wallabag-$WALLABAG_VERSION.tar.gz \
&& tar xvf /tmp/wallabag.tar.gz -C /tmp \
&& mkdir /var/www/wallabag \
&& mv /tmp/wallabag-*/* /var/www/wallabag/ \
Expand Down

0 comments on commit 92788d6

Please sign in to comment.