generated from ddev/ddev-addon-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
55 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,6 +71,14 @@ RUN set -eux; \ | |
tar -xzf eza-completions.tar.gz --strip-components=3 -C /usr/share/fish/vendor_completions.d/ ./target/completions-${EZA_VERSION}/eza.fish; \ | ||
rm eza-completions.tar.gz; | ||
|
||
# go | ||
RUN set -eux; \ | ||
GO_VERSION=1.23.3; \ | ||
AARCH=$(dpkg --print-architecture); \ | ||
wget -q https://go.dev/dl/go${GO_VERSION}.linux-${AARCH}.tar.gz -O go.tar.gz; \ | ||
tar -C /usr/local -xzf go.tar.gz; \ | ||
rm go.tar.gz; | ||
|
||
## | ||
# Tools to install under ddev non-root user | ||
# | ||
|
@@ -83,11 +91,18 @@ RUN set -eux; \ | |
fish -c "fisher install IlanCosman/[email protected]"; \ | ||
fish -c "fisher install edc/[email protected]" | ||
|
||
# bun.sh | ||
# bun.sh - it's installed by on the user as it adds stuff to .bashrc | ||
RUN set -eux; \ | ||
BUN_VERSION=1.1.36;/ \ | ||
curl -fsSL https://bun.sh/install | bash -s "bun-v${BUN_VERSION}" | ||
|
||
# go tools - it's installed on the user so so that bin and pkgs are available on the user's home | ||
RUN set -eux; \ | ||
unset GOARCH; \ | ||
unset GOOS; \ | ||
SYSBOX_VERSION=0.19.0; \ | ||
/usr/local/go/bin/go install github.com/skx/sysbox@release-${SYSBOX_VERSION}; | ||
|
||
# Go back to root | ||
USER root:root | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,6 +71,14 @@ RUN set -eux; \ | |
tar -xzf eza-completions.tar.gz --strip-components=3 -C /usr/share/fish/vendor_completions.d/ ./target/completions-${EZA_VERSION}/eza.fish; \ | ||
rm eza-completions.tar.gz; | ||
|
||
# go | ||
RUN set -eux; \ | ||
GO_VERSION=1.23.3; \ | ||
AARCH=$(dpkg --print-architecture); \ | ||
wget -q https://go.dev/dl/go${GO_VERSION}.linux-${AARCH}.tar.gz -O go.tar.gz; \ | ||
tar -C /usr/local -xzf go.tar.gz; \ | ||
rm go.tar.gz; | ||
|
||
## | ||
# Tools to install under ddev non-root user | ||
# | ||
|
@@ -83,11 +91,18 @@ RUN set -eux; \ | |
fish -c "fisher install IlanCosman/[email protected]"; \ | ||
fish -c "fisher install edc/[email protected]" | ||
|
||
# bun.sh | ||
# bun.sh - it's installed by on the user as it adds stuff to .bashrc | ||
RUN set -eux; \ | ||
BUN_VERSION=1.1.36;/ \ | ||
curl -fsSL https://bun.sh/install | bash -s "bun-v${BUN_VERSION}" | ||
|
||
# go tools - it's installed on the user so so that bin and pkgs are available on the user's home | ||
RUN set -eux; \ | ||
unset GOARCH; \ | ||
unset GOOS; \ | ||
SYSBOX_VERSION=0.19.0; \ | ||
/usr/local/go/bin/go install github.com/skx/sysbox@release-${SYSBOX_VERSION}; | ||
|
||
# Go back to root | ||
USER root:root | ||
|
||
|