Fix wgrib2: use v3.6.0 (v3.6.1 doesn't exist) and follow redirects
This commit is contained in:
parent
bb514112bf
commit
6e3b8d62de
1 changed files with 2 additions and 2 deletions
|
|
@ -21,7 +21,7 @@ ARG RUNNER_IMAGE="docker.io/debian:${DEBIAN_VERSION}"
|
||||||
# ---- wgrib2 build stage (cached independently) ----
|
# ---- wgrib2 build stage (cached independently) ----
|
||||||
FROM ${RUNNER_IMAGE} AS wgrib2-builder
|
FROM ${RUNNER_IMAGE} AS wgrib2-builder
|
||||||
|
|
||||||
ARG WGRIB2_VERSION=3.6.1
|
ARG WGRIB2_VERSION=3.6.0
|
||||||
|
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install -y --no-install-recommends \
|
&& apt-get install -y --no-install-recommends \
|
||||||
|
|
@ -31,7 +31,7 @@ RUN apt-get update \
|
||||||
|
|
||||||
WORKDIR /tmp/wgrib2
|
WORKDIR /tmp/wgrib2
|
||||||
|
|
||||||
RUN wget -q "https://github.com/NOAA-EMC/wgrib2/archive/refs/tags/v${WGRIB2_VERSION}.tar.gz" \
|
RUN wget -q --content-disposition "https://github.com/NOAA-EMC/wgrib2/archive/refs/tags/v${WGRIB2_VERSION}.tar.gz" \
|
||||||
-O wgrib2.tar.gz \
|
-O wgrib2.tar.gz \
|
||||||
&& tar xzf wgrib2.tar.gz \
|
&& tar xzf wgrib2.tar.gz \
|
||||||
&& cd wgrib2-${WGRIB2_VERSION} \
|
&& cd wgrib2-${WGRIB2_VERSION} \
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue