Compare commits
No commits in common. "a9be46421d4dab0af77e4d092558417e77af7094" and "9420ccadcc0631c3f96b16d227e6ce4349ce8b1f" have entirely different histories.
a9be46421d
...
9420ccadcc
@ -9,10 +9,8 @@ RUN LATEST_RELEASE=$(curl -s https://api.github.com/repos/gohugoio/hugo/releases
|
||||
VERSION=${LATEST_RELEASE#v} && \
|
||||
echo "Installing latest Hugo version: $VERSION" && \
|
||||
wget https://github.com/gohugoio/hugo/releases/download/${LATEST_RELEASE}/hugo_extended_${VERSION}_linux-amd64.tar.gz -O hugo.tar.gz && \
|
||||
mkdir -p /tmp/hugo && \
|
||||
tar -xzf hugo.tar.gz -C /tmp/hugo && \
|
||||
mv /tmp/hugo/hugo /usr/local/bin/ && \
|
||||
rm -rf /tmp/hugo hugo.tar.gz && \
|
||||
tar -xzf hugo.tar.gz -C /usr/local/bin/ && \
|
||||
rm hugo.tar.gz && \
|
||||
chmod +x /usr/local/bin/hugo && \
|
||||
hugo version
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user