Verified Commit 6eb0ee04 authored by Adrian Pascu's avatar Adrian Pascu
Browse files

Fetch the devcontainer Hugo from the `linux-arm64` and `linux-amd64` release assets

parent 07ea21c3
Loading
Loading
Loading
Loading
Loading
+3 −3
Changes for .devcontainer/Dockerfile: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -15,12 +15,12 @@ RUN apt-get update && apt-get install -y ca-certificates openssl git curl && \
    echo ${VERSION} && \
    case $(uname -m) in \
    aarch64) \
    export ARCH=ARM64 ;; \
    export ARCH=linux-arm64 ;; \
    *) \
    export ARCH=64bit ;; \
    export ARCH=linux-amd64 ;; \
    esac && \
    echo ${ARCH} && \
    wget -O ${VERSION}.tar.gz https://github.com/gohugoio/hugo/releases/download/v${VERSION}/${VARIANT}_${VERSION}_Linux-${ARCH}.tar.gz && \
    wget -O ${VERSION}.tar.gz https://github.com/gohugoio/hugo/releases/download/v${VERSION}/${VARIANT}_${VERSION}_${ARCH}.tar.gz && \
    tar xf ${VERSION}.tar.gz && \
    mv hugo /usr/bin/hugo