-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: standard format for node-asdf and ruby-asdf features (#539)
- Loading branch information
1 parent
48e41e0
commit f47402a
Showing
10 changed files
with
62 additions
and
73 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
#!/bin/bash -i | ||
|
||
set -e | ||
|
||
source ./library_scripts.sh | ||
. ./library_scripts.sh | ||
|
||
# nanolayer is a cli utility which keeps container layers as small as possible | ||
# source code: https://github.com/devcontainers-contrib/nanolayer | ||
# `ensure_nanolayer` is a bash function that will find any existing nanolayer installations, | ||
# and if missing - will download a temporary copy that automatically get deleted at the end | ||
# `ensure_nanolayer` is a bash function that will find any existing nanolayer installations, | ||
# and if missing - will download a temporary copy that automatically get deleted at the end | ||
# of the script | ||
ensure_nanolayer nanolayer_location "v0.4.45" | ||
ensure_nanolayer nanolayer_location "v0.5.4" | ||
|
||
|
||
$nanolayer_location \ | ||
install \ | ||
devcontainer-feature \ | ||
"ghcr.io/devcontainers-contrib/features/asdf-package:1.0.8" \ | ||
--option plugin='nodejs' --option version="$VERSION" | ||
|
||
|
||
|
||
echo 'Done!' | ||
|
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 |
---|---|---|
@@ -1,31 +1,31 @@ | ||
#!/bin/bash -i | ||
|
||
set -e | ||
|
||
source ./library_scripts.sh | ||
. ./library_scripts.sh | ||
|
||
# nanolayer is a cli utility which keeps container layers as small as possible | ||
# source code: https://github.com/devcontainers-contrib/nanolayer | ||
# `ensure_nanolayer` is a bash function that will find any existing nanolayer installations, | ||
# and if missing - will download a temporary copy that automatically get deleted at the end | ||
# `ensure_nanolayer` is a bash function that will find any existing nanolayer installations, | ||
# and if missing - will download a temporary copy that automatically get deleted at the end | ||
# of the script | ||
ensure_nanolayer nanolayer_location "v0.4.45" | ||
ensure_nanolayer nanolayer_location "v0.5.4" | ||
|
||
|
||
$nanolayer_location \ | ||
install \ | ||
devcontainer-feature \ | ||
"ghcr.io/devcontainers-contrib/features/apt-get-packages:1.0.6" \ | ||
--option packages='curl,ca-certificates,software-properties-common,build-essential,gnupg2,libreadline-dev,procps,dirmngr,gawk,autoconf,automake,bison,libffi-dev,libgdbm-dev,libncurses5-dev,libsqlite3-dev,libtool,libyaml-dev,pkg-config,sqlite3,zlib1g-dev,libgmp-dev,libssl-dev' | ||
|
||
|
||
|
||
$nanolayer_location \ | ||
install \ | ||
devcontainer-feature \ | ||
"ghcr.io/devcontainers-contrib/features/asdf-package:1.0.8" \ | ||
--option plugin='ruby' --option version="$VERSION" | ||
|
||
|
||
|
||
echo 'Done!' | ||
|
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 |
---|---|---|
|
@@ -5,4 +5,4 @@ | |
"node-asdf": {} | ||
} | ||
} | ||
} | ||
} |
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 |
---|---|---|
|
@@ -5,4 +5,4 @@ | |
"ruby-asdf": {} | ||
} | ||
} | ||
} | ||
} |