Commit graph

196 commits

Author SHA1 Message Date
github-actions[bot]
7b009e661f
Automated documentation update (#328)
Automated documentation update [skip ci]

Co-authored-by: github-actions <github-actions@github.com>
2022-12-09 14:10:41 -08:00
Jacob Woffenden
aae9de7ebc
Change default shell if installing ZSH (#325)
* Added new option to configure zsh as default shell
Added test scenario
Bumped feature version

* Update test/common-utils/scenarios.json

Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com>

* Update src/common-utils/devcontainer-feature.json

Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com>

* Update test/common-utils/configure_zsh_as_default_shell.sh

Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com>

Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com>
2022-12-09 14:08:20 -08:00
Josh Spicer
e28358e33b
revert accidental push 2022-12-02 11:53:32 -08:00
Josh Spicer
779fa44930
add 'vim' as a common util to install 2022-12-02 11:52:53 -08:00
Samruddhi Khandale
7a47fbff00
Node: Fix regression - Installing in ubuntu 18.04 (#319)
Node: Fix regression https://github.com/devcontainers/features/issues/317
2022-12-02 09:48:04 -08:00
Samruddhi Khandale
46dfa11ecd
Github cli - Adds retry logic for find git tags (#310)
* Github cli - Adds retry logic for find git tags

* re-add set -e

* address comment
2022-11-30 13:42:57 -08:00
github-actions[bot]
64f0e10fab
Automated documentation update (#315)
Automated documentation update [skip ci]

Co-authored-by: github-actions <github-actions@github.com>
2022-11-29 17:10:37 -08:00
Samruddhi Khandale
cf36e7ac3a
docker-in-docker fix : Use ${devcontainerId} for volume name (#314)
Fix
2022-11-29 17:08:10 -08:00
Chuck Lantz
d1972b4d8d
Use _REMOTE_USER when available (#264)
* Use _REMOTE_USER when available

* Update src/python/install.sh

Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com>

* Update src/python/install.sh

Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com>

* Fix java test issue - JDK 18 not available for the "open" distro

* Bump breakfix numbers

Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com>
Co-authored-by: Josh Spicer <joshspicer@github.com>
2022-11-28 15:07:38 -08:00
Claudio Bandera
4af4c29122
Proposal for fix of #312 (#313)
* Proposal for fix of #312

This change moves the directory separator into the `PIPX_DIR` variable in order to not introduce an error in the case pipx has already been installed systemwide.

* Bump patch version of python feature to 1.0.16
2022-11-28 11:05:21 -08:00
Chuck Lantz
30f2876053
Fix bad path to systemctl (#302) 2022-11-28 10:10:56 -06:00
github-actions[bot]
188f1ef26b
Automated documentation update (#306)
Automated documentation update [skip ci]

Co-authored-by: github-actions <github-actions@github.com>
2022-11-23 12:46:03 -08:00
Paul Yu
133b4cf23c
Optionally install Azure Bicep as part of azure-cli feature (#305)
* Adding azure-cli bicep installer to correctly install on arm64 containers

* Adding a few updates following @joshspicer's review.
2022-11-23 15:18:22 -05:00
Samruddhi Khandale
c4648ab98c
go: fix bug - Go doesn't update version if go is already installed (#303)
* go: fix bug - Go doesn't update version if go is already installed

* Update tests with bash -c
2022-11-23 09:33:50 -08:00
Ilkka Poutanen
173c7ca3c7
Install git before github-cli (#301)
* Install git before github-cli

If building a devcontainer on e.g. `debian:bullseye`, github-cli installation can fail due to git not being installed yet:

```
0 13.38 2022-11-18 13:37:19 (6.08 MB/s) - 'gh_2.20.2_linux_amd64.deb' saved [10
176698/10176698]
#0 13.38
#0 13.40 Selecting previously unselected package gh.
#0 13.41 (Reading database ... 13628 files and directories currently installed.)
#0 13.41 Preparing to unpack .../gh_2.20.2_linux_amd64.deb ...
#0 13.41 Unpacking gh (2.20.2) ...
#0 13.65 dpkg: dependency problems prevent configuration of gh:
#0 13.65  gh depends on git; however:
#0 13.65   Package git is not installed.
#0 13.65
#0 13.65 dpkg: error processing package gh (--install):
#0 13.65  dependency problems - leaving unconfigured
#0 13.66 Errors were encountered while processing:
#0 13.66  gh
#0 13.67 ERROR: Feature "GitHub CLI" (ghcr.io/devcontainers/features/github-cli)
 failed to install! Look at the documentation at https://github.com/devcontainer
s/features/tree/main/src/github-cli for help troubleshooting this error.
```

* bump version

Co-authored-by: Josh Spicer <josh@joshspicer.com>
2022-11-18 10:26:05 -08:00
Samruddhi Khandale
3fc9604dda
Oryx: Build with .NET 6 (#298)
* Oryx: Install dotnet 3.1 runtime

* fix tests

* build with .NET 6 + add tests

* add tests

* fix tests

* shellcheck: nit
2022-11-17 11:55:43 -08:00
etienne-chrp
be4f0498e4
Add Gradle and Maven version parameters to Java (#263)
* Refactor java feature tests grep syntax

The grep with pipe syntax was creating problems with the check helper

Change them in favour of process substitution syntax

* Fix java feature tests about java version

Java 18 is not available anymore in SDKMAN

Some tests asserts were generating false positives

* Add Gradle and Maven version parameters to Java
2022-11-16 16:46:30 -08:00
Samruddhi Khandale
bff3178837
Oryx: Unpin git clone from a single commit (#296) 2022-11-16 10:49:06 -08:00
Samruddhi Khandale
1e35500bda
Node: Fix bug - version set by Feature is not default (#294)
* Node:Fix bug version set by Feature is not default

* node not supported for ubuntu:bionic
2022-11-15 14:51:00 -08:00
Samruddhi Khandale
f9acb6aae1
Python bug fix - Add jupyterlab even if python is not installed by Feature but exists (#244)
* python fix bug

* fix test

* address comments

* address comment
2022-11-15 13:26:26 -08:00
github-actions[bot]
a5655189a2
Automated documentation update (#292)
Automated documentation update [skip ci]

Co-authored-by: github-actions <github-actions@github.com>
2022-11-15 08:23:00 -08:00
Mikey Lombardi (He/Him)
474444fa9f
(GH-198) Add extended option to hugo feature (#240)
Prior to this change, the hugo feature only supported specifying the
version of Hugo to install. Hugo is available in two builds: standard,
which the feature already installs, and extended, which includes
functionality for post-processing CSS/SCSS/SASS and JavaScript.

This change adds a new `extended` option to the hugo feature, allowing
users to specify that they require the extended build of Hugo. It
defaults to `false` and installs the standard build of Hugo.

- Resolves #198
2022-11-15 08:19:33 -08:00
github-actions[bot]
ada30c21f5
Automated documentation update for Azure CLI and CUDA (#289)
Automated documentation update [skip ci]

Co-authored-by: github-actions <github-actions@github.com>
2022-11-14 13:47:51 -08:00
JP Ungaretti
58fed08dcf
Add support for CUDA 11.8 in nvidia-cuda (#267)
* Add latest CUDA versions

* Move cuDNN version check

* Check CUDA version
2022-11-14 13:42:17 -08:00
Paul Yu
eafa28287e
Add new option to install azure-cli extensions (#165)
* Add new option for azure-cli extensions

* Update to install az extensions as $_REMOTE_USER

* Skip unknown extensions

* Change azure cli extension option type to string

* Adding test for azure-cli extensions
2022-11-14 12:22:02 -08:00
JP Ungaretti
e00724a0c6
Add git extension for JupyterLab to Python feature (#286)
* Add git extension

* Bump version
2022-11-14 11:46:13 -08:00
Chuck Lantz
17580ee22f
Add .NET 7, drop .NET 5 (#269)
* Add .NET 7, drop .NET 5

* Add libssl3 to common-utils for jammy

* Handle lts/latest hard coding

* Fix, improve tests

* Bump version

* Fix situation where version could come from either MS repo or OS

* Remove unused option

* Bump common version

* Remove unused function

* Restore DOTNET_ROOT per feedback
2022-11-14 11:41:32 -08:00
github-actions[bot]
258b107b39
Automated documentation update (#287)
Automated documentation update [skip ci]

Co-authored-by: github-actions <github-actions@github.com>
2022-11-14 11:40:25 -08:00
github-actions[bot]
0e25800486
Automated documentation update (#282)
Automated documentation update [skip ci]

Co-authored-by: github-actions <github-actions@github.com>
2022-11-12 11:24:57 -08:00
Chuck Lantz
e9c4f9f8c5
Fix property name 2022-11-12 11:22:41 -08:00
github-actions[bot]
00a51775eb
Automated documentation update (#279)
Automated documentation update [skip ci]

Co-authored-by: github-actions <github-actions@github.com>
2022-11-12 11:14:29 -08:00
Chuck Lantz
1c61d1a039
Add test, bump version for extraNixConfig (#280) 2022-11-12 11:12:21 -08:00
Nick Hu
a2b1c19a51
Nix feature: allow extra configuration of /etc/nix/nix.conf (#277) 2022-11-12 10:33:16 -08:00
Chuck Lantz
f7f05f76fa
Fix regression with Azure CLI, privs (#272) 2022-11-10 17:03:21 -08:00
Chuck Lantz
3020d6da64
Fix python feature issue #258, improve tests, fix oryx bug (#261)
* Fix #258, improve tests, fix oryx bug
* Drop Debian 9 from tests given it is out of support
2022-11-07 12:46:23 -06:00
github-actions[bot]
73a9c7d382
Automated documentation update (#257)
Automated documentation update [skip ci]

Co-authored-by: github-actions <github-actions@github.com>
2022-11-02 17:02:26 -07:00
Chuck Lantz
d003c1b1ac
Add missing notes 2022-11-02 18:39:11 -05:00
github-actions[bot]
b7c70d3d9b
Automated documentation update (#254)
Automated documentation update [skip ci]

Co-authored-by: github-actions <github-actions@github.com>
2022-11-01 14:18:13 -07:00
Samruddhi Khandale
a94558576c
Oryx - git clone: Pin to an older commit (#253)
pin: git clone
2022-11-01 11:28:41 -07:00
github-actions[bot]
268368beeb
Automated documentation update (#252)
Automated documentation update [skip ci]

Co-authored-by: github-actions <github-actions@github.com>
2022-11-01 10:04:58 -07:00
Chuck Lantz
0752a52b0c
Nix feature (#228) 2022-11-01 12:02:02 -05:00
Samruddhi Khandale
748be9320c
kubectl-helm-minikube - Remove 'ms-kubernetes-tools.vscode-kubernetes-tools' extension (#251)
update kubectl-helm-minikube
2022-11-01 09:17:03 -07:00
github-actions[bot]
1313517fc4
Automated documentation update (#250)
Automated documentation update [skip ci]

Co-authored-by: github-actions <github-actions@github.com>
2022-10-31 15:10:22 -07:00
Samruddhi Khandale
9366ef7ed1
Node: Fix failure when version:none (#247)
fix version:none
2022-10-28 16:50:48 -07:00
github-actions[bot]
f1c981d064
Automated documentation update (#246)
Automated documentation update [skip ci]

Co-authored-by: github-actions <github-actions@github.com>
2022-10-28 13:59:09 -07:00
Alessandro (Ale) Segala
0ee38a48e4
Install golangci-lint from prebuilt binaries and allow specifying its version (#238)
* Install golangci-lint from prebuilt binaries and allow specifying its version

* Updated as requested

* Update src/go/devcontainer-feature.json

Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com>

* Updated install path

Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com>
2022-10-28 13:57:57 -07:00
Aurelio Jargas
85d2150997
github-cli: Remove duplicated find_version_from_git_tags () (#235)
This function was defined twice in the install script for GitHub CLI, in
old lines 76 and 161. This commit removes the first definition.

The only function calls were on old lines 201 and 222. Since they appear
after the second function definition at line 161, the first one at line
76 never got called, so it's safe to remove it.

I confirmed that this was the only file in this repository where this
function was duplicated:  

    $ git grep '^ *find_version_from_git_tags *('
    src/docker-from-docker/install.sh:find_version_from_git_tags() {
    src/docker-in-docker/install.sh:find_version_from_git_tags() {
    src/git-lfs/install.sh:find_version_from_git_tags() {
    src/github-cli/install.sh:find_version_from_git_tags() {
    src/github-cli/install.sh:find_version_from_git_tags() {
    src/go/install.sh:find_version_from_git_tags() {
    src/kubectl-helm-minikube/install.sh:find_version_from_git_tags() {
    src/php/install.sh:find_version_from_git_tags() {
    src/powershell/install.sh:find_version_from_git_tags() {
    src/python/install.sh:find_version_from_git_tags() {
    src/ruby/install.sh:find_version_from_git_tags() {
    src/rust/install.sh:find_version_from_git_tags() {
    src/terraform/install.sh:find_version_from_git_tags() {
    $
2022-10-28 10:46:16 -07:00
github-actions[bot]
22050f2fd4
Automated documentation update (#242)
Automated documentation update [skip ci]

Co-authored-by: github-actions <github-actions@github.com>
2022-10-28 10:44:39 -07:00
Chuck Lantz
2963ae9119
Fix privs in Node, regressions from #199 (#241)
Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com>
2022-10-28 12:32:58 -05:00
Samruddhi Khandale
ab021f0dfb
Fix oryx bug - Add PIP_CACHE_DIR (#239)
* oryx update

* bump version

* update comment
2022-10-26 15:20:47 -07:00