Commit graph

87 commits

Author SHA1 Message Date
Felipe Santos
7f605b9452
Fix several issues with docker-outside-of-docker (#443)
* Fix several issues with docker-outside-of-docker

* Add initial tests and bump version

* Add two tests

* Fix docker buildx conflict

* Fix possible test issue

* Add tests for moby

* Add buildx test to init

* Fix inconsistency

* Many fixes and improvements

* Make dockeDashCompose v2 by default
2023-04-05 11:21:36 -07:00
Josh Spicer
2952d87f1d
add a postCreateCommand to git-lfs Feature (#511)
* add a postCreateCommand to git-lfs Feature

* debug passing locally but not in CI

* update scenario

* add GIT_LFS_SKIP_SMUDGE=1 to prevent fetching lfs arifacts in github actions

* arguments should be booleans

* move example repo to devcontainers org

* place script literally anywhere other than /tmp
2023-04-04 06:47:04 -07:00
Samruddhi Khandale
1118b992d9
Ruby: Fix failures - omit "ruby-debug-ide" (#505)
* Ruby: Fix failures on debian image due to ruby-debug-ide

* omit
2023-03-28 16:05:17 -07:00
Daniel Ciborowski
d4c3fefc4a
Add pytest to Python Feature (#487)
* Update install.sh

* Update install_additional_python.sh

* Update install_os_provided_python.sh

* Update install_via_oryx.sh

* Update test.sh

* Update devcontainer-feature.json
2023-03-14 08:23:28 -07:00
Samruddhi Khandale
de1e634a67
Docker fix - BuildKit is enabled but the buildx component is missing or broken (#478)
* Docker fix - BuildKit is enabled but the buildx component is missing or broken

* nit

* fix test
2023-03-08 15:30:59 -08:00
Akihiro Nagai
83c6103db2
Add pnpm in Node (#450)
* Add pnpm in Node

* pnpm from npm

* Restore README.md

* Update install.sh

* Update tests
2023-02-27 09:12:21 -08:00
Stefan Drzazga
900cbfc1f9
Add sentinel to terraform feature (#452)
* Introducing Sentinel installation

* Modifying docs for sentinel

* Modifying tests for sentinel

* Revert "Modifying docs for sentinel"

This reverts commit 818894b22f.

* Modifying docs for sentinel

* Fixing duplication issue for sentinel url

* Update src/terraform/install.sh

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

* Increase minor version

---------

Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com>
2023-02-15 11:59:31 -08:00
Samruddhi Khandale
4a9929f964
kubectl-helm-minikube: Allow none (#442) 2023-02-07 11:45:48 -08:00
Samruddhi Khandale
36d7664eba
PHP: Allow 'version:none' (#439)
* PHP: Allow 'version:none'

* fix tests
2023-02-07 09:52:33 -08:00
Ross Smith
7763e0b7db
Install PowerShell Modules (#427)
* InstallBicep

* Add test for InstallBicep

* Install pwsh Modules

* Script rename

* Add -Command to test

* Check version

* Install the module for all users

* Adding terminating lines to scripts

* Update src/powershell/install.sh

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

* Update src/powershell/install.sh

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

* Removed comments in Readme

* Remove Bicep from PowerShell install

* Increased version number

* Update Minor version rather than patch

---------

Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com>
2023-01-30 11:29:13 -08:00
Samruddhi Khandale
7a3a9c5fca
Php: Auto configure if a three part version is not provided (#406)
* Php: Auto configure if a three part version is not provided

* fix test

* update checks

* Bump version
2023-01-20 09:22:39 -08:00
Tobias Gesellchen
d78a153492
Java: add Apache Ant (#409)
* Java: add Apache Ant

* Update src/java/devcontainer-feature.json

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

* revert the changes in README.md

* Add tests for Java/Ant

* Fix Java feature version

Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com>
2023-01-18 13:24:10 -08:00
Samruddhi Khandale
74dd2710dc
Git: Use sysconfdir=/etc for git built from source (#395)
* Git: Adds a new 'addGitConfigSymlink' option

* Use sysconfdir
2023-01-11 11:02:28 -08:00
Samruddhi Khandale
e67f4dc0fd
Common-utils: Fix build failures for alpine 3.14 & 3.15 (#393)
* Common-utils: Fix build failures for alpine 3.14 & 3.15

* version bump
2023-01-10 15:09:56 -08:00
eitsupi
7e32db56c0
[common-utils] Fix permission of scripts in containers (#388)
* fix permission in containers

* add test

* bump version

* more tests

* update tests

* Update test/common-utils/devcontainer-info/Dockerfile

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

* Update test/common-utils/scenarios.json

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

* Update scenarios.json

* Update devcontainer-info.sh

Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com>
2023-01-10 13:50:09 -08:00
Samruddhi Khandale
59fa3e3c21
Conda: Update 'certifi' due to CVE-2022-23491 (#383) 2023-01-09 14:49:43 -08:00
Julien Boudry
8f7eec80d4
[PHP] Enable Mbstring (#371)
Mbstring is such a popular PHP extension that it is used everywhere and most libraries don't work without it. It can be compiled directly with PHP.
The official Docker images of PHP include it.
2023-01-04 13:12:53 -08:00
Samruddhi Khandale
eef35a4399
Rename "docker-from-docker" to "docker-outside-of-docker" (#373)
* Rename to "docker-outside-of-docker"

* rename test folder
2023-01-04 11:52:05 -08:00
Samruddhi Khandale
29babe4245 fix test 2022-12-27 18:35:13 +00:00
Samruddhi Khandale
b9bfe406d2
Update GPG_KEY_SERVERS: Remove :80 from Ubuntu Keyserver (#354)
* Update GPG_KEY_SERVERS: Remove `:80` from Ubuntu Keyserver

* Fix ruby tests
2022-12-21 12:15:24 -08:00
Samruddhi Khandale
48678001d1
Terraform: Update GPG_KEY_SERVERS (#353)
* Terraform: Update GPG_KEY_SERVERS

* add check
2022-12-21 09:11:10 -08:00
Mark Phippard
fede405549
Add support for mariner (#344) 2022-12-19 11:25:32 -05:00
Samruddhi Khandale
2af02c198a
Git - Bug Fix: Feature fails with "ppa:false" for "buster" & "bullseye" (#340) 2022-12-16 16:08:37 -08:00
Samruddhi Khandale
e46c73de74
Git - Bug Fix: Feature fails with "ppa:false" for bionic & jammy (#339) 2022-12-16 14:21:05 -08:00
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