diff options
author | Markus Heiser <markus.heiser@darmarIT.de> | 2021-11-18 19:49:01 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-18 19:49:01 +0000 |
commit | 1e997386e923b10b7f9e551f3825b7e9605bc890 (patch) | |
tree | 62993365e03da43ff574b65d8b85bc1295c590c5 /docs | |
parent | 58871e10ffd76d3e4ca2ca422f8f2498f6797ded (diff) | |
parent | 79b41478ac7290453b73bf00c4cdcd84e588f051 (diff) |
Merge pull request #508 from return42/arm64
[mod] Tools to install and maintain golang binaries & packages.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/build-templates/filtron.rst | 9 | ||||
-rw-r--r-- | docs/build-templates/morty.rst | 9 |
2 files changed, 10 insertions, 8 deletions
diff --git a/docs/build-templates/filtron.rst b/docs/build-templates/filtron.rst index 79b25439..6a39d1f5 100644 --- a/docs/build-templates/filtron.rst +++ b/docs/build-templates/filtron.rst @@ -19,7 +19,8 @@ .. tabs:: - .. group-tab:: bash + .. group-tab:: os: linux / arch: amd64 + .. code-block:: bash @@ -30,9 +31,9 @@ $ sudo -i -u \"${SERVICE_USER}\" (${SERVICE_USER}) $ echo 'source $GO_ENV' >> ~/.profile (${SERVICE_USER}) $ mkdir ${SERVICE_HOME}/local - (${SERVICE_USER}) $ wget --progress=bar -O \"${GO_TAR}\" \\ - \"${GO_PKG_URL}\" - (${SERVICE_USER}) $ tar -C ${SERVICE_HOME}/local -xzf \"${GO_TAR}\" + (${SERVICE_USER}) $ wget --progress=bar -O \"${GO_VERSION}.linux-amd64.tar.gz\" \\ + \"${GO_DL_URL}/${GO_VERSION}.linux-amd64.tar.gz\" + (${SERVICE_USER}) $ tar -C ${SERVICE_HOME}/local -xzf \"${GO_VERSION}.linux-amd64.tar.gz\" (${SERVICE_USER}) $ which go ${SERVICE_HOME}/local/go/bin/go diff --git a/docs/build-templates/morty.rst b/docs/build-templates/morty.rst index 2be24da5..b03a54f9 100644 --- a/docs/build-templates/morty.rst +++ b/docs/build-templates/morty.rst @@ -19,7 +19,8 @@ .. tabs:: - .. group-tab:: bash + .. group-tab:: os: linux / arch: amd64 + .. code-block:: bash @@ -30,9 +31,9 @@ $ sudo -i -u \"${SERVICE_USER}\" (${SERVICE_USER}) $ echo 'source $GO_ENV' >> ~/.profile (${SERVICE_USER}) $ mkdir ${SERVICE_HOME}/local - (${SERVICE_USER}) $ wget --progress=bar -O \"${GO_TAR}\" \\ - \"${GO_PKG_URL}\" - (${SERVICE_USER}) $ tar -C ${SERVICE_HOME}/local -xzf \"${GO_TAR}\" + (${SERVICE_USER}) $ wget --progress=bar -O \"${GO_VERSION}.linux-amd64.tar.gz\" \\ + \"${GO_DL_URL}/${GO_VERSION}.linux-amd64.tar.gz\" + (${SERVICE_USER}) $ tar -C ${SERVICE_HOME}/local -xzf \"${GO_VERSION}.linux-amd64.tar.gz\" (${SERVICE_USER}) $ which go ${SERVICE_HOME}/local/go/bin/go |