Fix - move hugo into /usr/local/bin directory
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
c77e615d06
commit
ece2e571a0
@ -8,7 +8,7 @@ RUN sudo apt update && \
|
|||||||
sudo apt autoremove -y
|
sudo apt autoremove -y
|
||||||
|
|
||||||
# Install Go
|
# Install Go
|
||||||
RUN curl -O https://dl.google.com/go/go1.15.2.linux-amd64.tar.gz && \
|
RUN curl -L -O https://dl.google.com/go/go1.15.2.linux-amd64.tar.gz && \
|
||||||
tar xvfz go1.15.2.linux-amd64.tar.gz && \
|
tar xvfz go1.15.2.linux-amd64.tar.gz && \
|
||||||
sudo chown -R root:root ./go && \
|
sudo chown -R root:root ./go && \
|
||||||
sudo mv go /usr/local && \
|
sudo mv go /usr/local && \
|
||||||
@ -18,7 +18,7 @@ RUN curl -O https://dl.google.com/go/go1.15.2.linux-amd64.tar.gz && \
|
|||||||
RUN curl -L -O https://github.com/gohugoio/hugo/releases/download/v0.75.1/hugo_0.75.1_Linux-64bit.tar.gz && \
|
RUN curl -L -O https://github.com/gohugoio/hugo/releases/download/v0.75.1/hugo_0.75.1_Linux-64bit.tar.gz && \
|
||||||
tar xvfz hugo_0.75.1_Linux-64bit.tar.gz && \
|
tar xvfz hugo_0.75.1_Linux-64bit.tar.gz && \
|
||||||
sudo chown -R root:root ./hugo && \
|
sudo chown -R root:root ./hugo && \
|
||||||
sudo mv hugo /usr/local && \
|
sudo mv hugo /usr/local/bin && \
|
||||||
rm -f hugo_0.75.1_Linux-64bit.tar.gz LICENSE README.md
|
rm -f hugo_0.75.1_Linux-64bit.tar.gz LICENSE README.md
|
||||||
|
|
||||||
# Start code-server
|
# Start code-server
|
||||||
|
Loading…
Reference in New Issue
Block a user