Commit graph

113 commits

Author SHA1 Message Date
Chuck Lantz
bf058dc494
Multi-distro support for common script, refactor, fixes (#326) 2022-12-16 09:47:21 -08:00
Samruddhi Khandale
7fa90110d7
Git: Build from source with USE_LIBPCRE (#331) 2022-12-13 14:09:16 -08:00
Pierre-Emmanuel Mercier
84f3e62d1c
Add TFSec and Terraform Docs to Terraform features (#327)
* Add TFSec and Terraform Docs

* PR Review

* code review
2022-12-13 10:58:22 -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
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
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
Samruddhi Khandale
4b3ccf36ea
Adds test coverage (#308)
* Add test coverage

* temp: debug test

* Update tests
2022-11-23 15:03:07 -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
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
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
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
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
Chuck Lantz
1c61d1a039
Add test, bump version for extraNixConfig (#280) 2022-11-12 11:12:21 -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
Chuck Lantz
0752a52b0c
Nix feature (#228) 2022-11-01 12:02:02 -05:00
Samruddhi Khandale
9366ef7ed1
Node: Fix failure when version:none (#247)
fix version:none
2022-10-28 16:50:48 -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
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
Edmundo Gonzalez
520a4abc40
Python version 3.11 (#237)
* Adding 3.11 option

* Updating tests.
2022-10-25 16:07:05 -07:00
Kevin Klopfenstein
7ae8c5c16d
Add default-address-pool setting (#223) 2022-10-21 07:31:04 -07:00
Samruddhi Khandale
2d89dc301e
Node: Fix nvm ownership (#199)
* Node: Fix nvm ownership

* remove 0002
2022-10-06 13:41:34 -05:00
JP Ungaretti
960f21c2c5
Fix additional Python and JupyterLab edge case (#182)
* Remove bloat from JupyterLab test

* Check location of JupyterLab installation

* Remove common-utils

* Add failing additional with JL test

* Fix Python feature

* Update scenario images

* Bump patch version
2022-09-26 10:50:13 -07:00
Samruddhi Khandale
8c19bb1626
Ruby: Fix rbenv init bug (#185)
* fix rbenv bug

* bump version

* adds test
2022-09-26 10:11:50 -07:00
Samruddhi Khandale
3a28652790
Java: add jdkDistro option (#172)
* add jdkDistro option

* bump version
2022-09-23 14:25:58 -07:00
JP Ungaretti
ceb4544cc3
Rename JupyterLab config file (#174)
* Rename JupyterLab config file

* Bump version
2022-09-20 13:47:46 -07:00
Samruddhi Khandale
ef939f908c
Go - Adds /go/bin to PATH (#162)
* bug fix

* adds more checks

* adds GOROOT

* revert GOPATH changes
2022-09-16 13:51:35 -07:00
Samruddhi Khandale
9a92823e9a
Java: Fix gradle bug - sets GRADLE_USER_HOME incorrectly (#152)
* fix gradle bug

* modify tests
2022-09-14 10:20:02 -07:00
Samruddhi Khandale
674b096863
Conda and Java: sync env variables (#153)
* conda script

* Adds JAVA_HOME

* Update src/conda/devcontainer-feature.json

Co-authored-by: Josh Spicer <joshspicer@github.com>

* modify containerEnv

* fix version

* bump python version

Co-authored-by: Josh Spicer <joshspicer@github.com>
2022-09-13 17:15:51 -07:00
Samruddhi Khandale
e90f4f9e0a
git : Remove misleading variables (#146)
* remove misleading ppa value

* add test

* nit

* bump version
2022-09-08 17:25:04 -07:00
Samruddhi Khandale
a5fbdab3c0
fix bug - Debian / Ubuntu base conda-notice.txt error (#135)
* fix bug

* move config

* fix tests
2022-09-06 13:50:11 -07:00
Samruddhi Khandale
771a300594
Oryx - Fix bug when dynamically installing dotnet in universal image (#125)
* fix oryx

* copy /images

* bimp version
2022-09-01 09:51:09 -07:00
Samruddhi Khandale
14d98b7795
Adds a new Conda Feature (#127)
* add conda Feature

* addCondaForge
2022-09-01 09:41:22 -07:00
Samruddhi Khandale
8f64809e5d
Oryx - Clean up and shrink size (#116)
* shrink oryx

* bump version

* bump version

* prune dotnet

* add warning

* bump version
2022-08-31 09:29:23 -04:00
Josh Spicer
f82307ad60
test updates to adopt https://github.com/devcontainers/cli/pull/124 (#114)
* test updates to adopt https://github.com/devcontainers/cli/pull/124

* remove accidental tgz check in

* typo in option

* typo in python install script on dotnet6/jammy branch

* no scenarios

* code review and test name

* Delete install_os_provided_python.sh
2022-08-23 17:23:21 -04:00
Josh Spicer
0cafeee862
favor correctness by removing apt update ... short-circuiting (#98)
* favor correctness by removing apt update shortciruiting

* Update install.sh

* apt_get_upadate in node

* update test
2022-08-23 09:17:08 -04:00
JP Ungaretti
ea030fa0ae
Add new NVIDIA CUDA feature (#80)
* Add new Nvidia feature

* Remove random empty files

* Update comments

* Rename feature to nvidia-cuda

* Add feature to tests

* Add version

* Move test to match new name

* Add final output message

* Fix capitalization of NVIDIA

* Remove option for base CUDA

* Use camelCase

* Check for required packages

* Use os-release instead of lsb_release

* Clean up keyring variables

* Collapse keyring lines

* Always install CUDA libraries

* Add option to install NVTX

* Always use ubuntu2004 repo

* Use test instead of brackets

* Add default values to feature

* Add version options for CUDA and cuDNN

* Rename CUDA version option

* Add scenario to test specific CUDA/cuDNN version

* Rename cuDNN scenario

* Fix typo in test scenario

* Update variable casing

* Add more helpful error messages

* Remove default values from script

* Use enum for version option

* Polish new scenarios

* Remove apt_get_update_if_needed and check_packages

* Add more versions

* Improve error messages

* Comments and feature description

Co-authored-by: Josh Spicer <joshspicer@github.com>
2022-08-21 14:22:51 -04:00
Josh Spicer
ef87daf5af
update dotnet/oryx features to use recommended install location for dotnet6 (#91)
* use default jammy apt feed to mitigate jammy/oryx install issues

* remove old comment

* jammy first tries default apt repo

* refactoring

* glob friendly and tests

* test files

* better greps

* correct path

* DEBIAN_FRONTEND global in oryx install script

* remove set -e from dotnet script to handle errors ourselves
2022-08-16 17:33:25 -04:00
Samruddhi Khandale
69d3df5f94
Rename feature: 'common' to 'common-utils' (#79)
* Renaming feature: 'common' to 'common-utils'

* removing duplicate tests
2022-08-05 18:11:46 +00:00
Josh Spicer
86eaacb47e Port changes and set executable bit
-Ports change from: https://github.com/microsoft/vscode-dev-containers/pull/1554
Sets all scripts as executable by default.
2022-07-29 15:38:08 +00:00
Samruddhi Khandale
4cd1e6b548 Revert "add gradle feature"
This reverts commit 123ca4650a.
2022-06-15 19:17:27 +00:00
Samruddhi Khandale
123ca4650a add gradle feature 2022-06-15 19:14:28 +00:00
JP Ungaretti
e99bc62ea3
Merge JupyterLab feature into Python feature (#40)
* Restructure tools installation

* Tweak bash and zsh config

* Remove extra space

* Update comments

* Add option to install JupyterLab

* Add option to configure JupyterLab

* Add option to install ML packages

* Remove deprecated JuptyerLab feature

* Add new arguments to Python feature

* Remove trailing whitespace

* Organize new arguments

* Resolve feedback

* Create new scenario for JupyterLab

* Fix user in JupyterLab scenario

* Revert changes to Python test

* Remove ML packages

* Update test names

* Rename CORS option
2022-06-08 11:19:31 -07:00
Samruddhi Khandale
cb6a539499
Add oryx feature (#27)
* add oryx

* modify oryx sh

* add oryx in matrix

* install dotnet

* fix permission

* test

* test 2

* test 3

* fix dotnet

* fix oryx

* fix

* fix path issues + debugging

* remove debugging

* add oryx test to actions

* fix test

* modify test

* add $

* fix user

* address comments

* add repo

* add wget

* allow apt-update

* add --no-check-certificate

* install ca-certificates

* install with another approach

* fix infinite test runs

* Update src/oryx/install.sh

Co-authored-by: Josh Spicer <joshspicer@github.com>

Co-authored-by: Josh Spicer <joshspicer@github.com>
2022-05-27 11:27:17 -07:00
Josh Spicer
54bb1d4e25
update jupyter and ruby features (#26)
* jekyll and jupyter updates

* add ruby to jekylls pr test

* update jekyll and ruby test

* remove features that dont follow my rules
2022-05-27 13:20:32 -04:00
Josh Spicer
2d5ba904bc correct rust asserts 2022-05-26 02:28:49 +00:00
Josh Spicer
cc03be1baf
maven and optional sdkman (#25)
* maven

* optional sdk man
2022-05-25 19:25:40 -07:00
Samruddhi Khandale
f86091f02d
Adds a PHP feature (#22)
* add php

* add test

* fix test

* add to workflow

* fix test

* fix bug

* test composer

Co-authored-by: Josh Spicer <joshspicer@github.com>
2022-05-25 15:18:28 -07:00
Josh Spicer
8f7d1000d9 fix 2022-05-25 21:21:44 +00:00
Josh Spicer
bbc990c232
format test/git/test.sh 2022-05-25 14:19:33 -07:00
Josh Spicer
6181170215 test file misnamed 2022-05-25 20:24:58 +00:00
Josh Spicer
661f7ecb44 and jupyter 2022-05-25 20:12:22 +00:00
Josh Spicer
c04da7388b fix crazy test.sh formatting 2022-05-25 20:11:44 +00:00
Josh Spicer
343465890b
Update test.sh 2022-05-25 12:40:40 -07:00
Josh Spicer
5332b952ad add feature stubs for all 2022-05-13 00:07:22 +00:00
Josh Spicer
3a277ad757
restructure and update cli (#11)
* restructure and update cli

* typo
2022-05-12 16:10:51 -04:00