Commit graph

413 commits

Author SHA1 Message Date
github-actions[bot]
f9de0e43f8
Automated documentation update (#368)
Automated documentation update [skip ci]

Co-authored-by: github-actions <github-actions@github.com>
2022-12-27 12:42:28 -05:00
Josh Spicer
19bc8bb633
OS support in Feature NOTES.md (#366)
* https://github.com/devcontainers/features/issues/360

* omit from common utils
2022-12-27 12:27:57 -05:00
github-actions[bot]
80ed2fbc30
Automated documentation update (#365)
Automated documentation update [skip ci]

Co-authored-by: github-actions <github-actions@github.com>
2022-12-27 09:51:25 -05:00
Josh Spicer
00dd4f4a19
remove unused buildArg in java Feature 2022-12-27 14:49:40 +00:00
Josh Spicer
592fdc8177
typo in 'dotnet' Feature schema 2022-12-27 09:36:51 -05:00
Josh Spicer
5fb5c388b5
typo 2022-12-27 09:32:34 -05:00
eitsupi
b6921f9b9f
feat(common-utils): Support the new path of meta.env file and the new field for saving source revisions (#359)
* support the new path of meta.env

* support the new field for the image revision

* minor formatting
2022-12-27 08:25:33 -05: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
Josh Spicer
42e5a013cc
common-utils 2.0.2 (#350)
Will release staged change: fede405549
2022-12-19 12:19:46 -05:00
github-actions[bot]
2472653c31
Automated documentation update (#351)
Automated documentation update [skip ci]

Co-authored-by: github-actions <github-actions@github.com>
2022-12-19 09:11:02 -08:00
github-actions[bot]
e46fe0eb34
Automated documentation update (#349)
Automated documentation update [skip ci]

Co-authored-by: github-actions <github-actions@github.com>
2022-12-19 11:27:18 -05:00
Mark Phippard
fede405549
Add support for mariner (#344) 2022-12-19 11:25:32 -05:00
zephyros-dev
9af65a01c7
docs: add bind mount docs for docker from docker (#343)
Co-authored-by: ptn <ptn@cct-technology.com>
2022-12-19 11:24:59 -05:00
eitsupi
7867e008c1
Fix /etc/bash.bashrc generated by common-utils (#342)
* Fix /etc/bash.bashrc generated by common-utils

* bump version
2022-12-19 11:23:05 -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
github-actions[bot]
a3dc31d31f
Automated documentation update (#338)
Automated documentation update [skip ci]

Co-authored-by: github-actions <github-actions@github.com>
2022-12-16 11:33:40 -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
github-actions[bot]
baf47e22b0
Automated documentation update (#332)
Automated documentation update [skip ci]

Co-authored-by: github-actions <github-actions@github.com>
2022-12-13 10:59:48 -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
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
57e15bc8e8
Update docker-in-docker version (#320)
update dnd
2022-12-02 09:49: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
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
Samruddhi Khandale
4b3ccf36ea
Adds test coverage (#308)
* Add test coverage

* temp: debug test

* Update tests
2022-11-23 15:03:07 -08: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