Skip to content

Commit

Permalink
Upgrade mastache and support non amd64 architectures
Browse files Browse the repository at this point in the history
  • Loading branch information
lambdalisue committed Oct 24, 2024
1 parent f938f00 commit 7370515
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ FROM alpine AS mustache-downloader

RUN apk --update add curl tar

ARG MUSTACHE_VERSION=1.3.0
RUN curl -sSL https://github.com/cbroglie/mustache/releases/download/v${MUSTACHE_VERSION}/mustache_${MUSTACHE_VERSION}_linux_amd64.tar.gz \
ARG TARGETARCH
ARG MUSTACHE_VERSION=1.4.0
RUN curl -sSL https://github.com/cbroglie/mustache/releases/download/v${MUSTACHE_VERSION}/mustache_${MUSTACHE_VERSION}_linux_${TARGETARCH}.tar.gz \
| tar xzf - \
&& mv mustache /usr/local/bin/mustache

Expand Down

0 comments on commit 7370515

Please sign in to comment.