Commit graph

406 commits

Author SHA1 Message Date
Samruddhi Khandale
f90cb26c7f
Common-utils: Fixes "No package jq available" errors for CentOS (#644)
* add checks for "jq"

* install epel-release if necessary

* clean up epel-release post installation of "jq"
2023-08-14 16:12:47 -07:00
Samruddhi Khandale
8b6f088256
Automated documentation update (#650)
Automated documentation update [skip ci]

Co-authored-by: github-actions <github-actions@github.com>
2023-08-11 16:17:50 -07:00
naturedamends
be082b0ef5
Common utils: Add config to remove zsh rc files from (#614)
* Add config to remove zsh rc files from common-utils.

* Bump version and add config to install script.

* Checks preventing excess writing to .zshrc.

* Change devcontainer feature option name.

* Coding standards.

* Favour adding feature via config 

and default to overriding .zshrc with dev-container default template.

* Update devcontainer-feature.json

* Update devcontainer-feature.json

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

Co-authored-by: Samruddhi Khandale <samruddhikhandale@github.com>

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

Co-authored-by: Samruddhi Khandale <samruddhikhandale@github.com>

* Testing for using devcontainer .zshrc template file.

* Coding standards.

* Coding standards.

* Update configure_zsh_as_default_shell_no_template.sh

* Grammar in configure_zsh_as_default_shell.sh

* Testing accounts for marked file cache  (#4)

* Account for mark file in testing.

* Remove some debugging and tests back

* Add back tests?

* Update configure_zsh_no_template.sh

---------

Co-authored-by: Samruddhi Khandale <samruddhikhandale@github.com>
2023-08-11 16:01:57 -07:00
Shikanime Deva
9e75db9a1d
Avoid unexpected shell expansion (#645)
* Avoid unexpected shell expansion

* Add install Node with ZSH as default test

* Fix LTS only work on >bionic

* Bump Node feature version

* Remove huge universal image on scenarios
2023-08-09 16:20:27 -07:00
Samruddhi Khandale
f2594c5cc8
Automated documentation update (#642)
Automated documentation update [skip ci]

Co-authored-by: github-actions <github-actions@github.com>
2023-08-07 16:29:54 -07:00
Samruddhi Khandale
bbb24d10d4
Docker-in-docker: Add retries to the docker-init script until docker daemon starts (#637)
* Docker-in-docker: Add retries until docker daemon starts

* address comments
2023-08-07 15:59:58 -07:00
Tom Palmer
29859aff28
Fix 2 instances of a typo in the desktop-lite NOTES and README (#640)
* Amend 'is installed is' to 'installed is'.

* Undo typo fix from README

Co-authored-by: Samruddhi Khandale <samruddhikhandale@github.com>

---------

Co-authored-by: Samruddhi Khandale <samruddhikhandale@github.com>
2023-08-07 15:12:13 -07:00
Krikchai Pongtaveewould
685fa2e0f1
Fix: common-utils configureZshAsDefaultShell option not working on alpine linux image (#557)
* alpine defaultZsh fix

* common-utils: replace pam.d/chsh permission with `sufficient`

* common-utils: revert match auth sufficient

* common-utils: append auth string instead of replacing a whole file

* fix grep 2nd param

* fix: line checking condition
2023-08-02 15:12:14 -07:00
Samruddhi Khandale
836ea1e9fa
Automated documentation update (#627)
Automated documentation update [skip ci]

Co-authored-by: github-actions <github-actions@github.com>
2023-07-26 14:43:43 -07:00
Samruddhi Khandale
ea2d79070e
Azure-cli - Temporary quick fix for jammy (ARM) (#626) 2023-07-21 17:37:10 -07:00
Samruddhi Khandale
7fcec6e7c9
Fix: Docker-in-docker for python - Arm64 (#618)
Fix: Docker-in-docker for python:3.11 - Arm64
2023-07-19 08:50:22 -07:00
Samruddhi Khandale
0e8940abea
Automated documentation update (#610)
Automated documentation update [skip ci]

Co-authored-by: github-actions <github-actions@github.com>
2023-07-11 12:50:29 -07:00
Samruddhi Khandale
07693965d7
Nvidia-cuda: Update notes regarding gpu enablement (#608)
* Nvidia-cuda: Update notes regarding gpu enablement

* use GPU hostRequirements instead

* nit

* use gpu:optional instead
2023-07-11 11:16:23 -07:00
Kazuma Watanabe
c4ffeebdac
Pin version of TFLint's GPG key URL (#605) 2023-07-06 10:23:36 -07:00
Samruddhi Khandale
300814be97
Dotnet: Fix Feature failures on ubuntu:jammy (when installing using apt) (#590)
* fix several bugs

* fix test: .NET is now installed from ubuntu feeds

* add comment ; use dev containers image

* address comments

* revert debugging cmd

* fix test for bookworm
2023-06-29 15:14:11 -07:00
Samruddhi Khandale
8a51aa9066
Automated documentation update (#602)
Automated documentation update [skip ci]

Co-authored-by: github-actions <github-actions@github.com>
2023-06-29 15:08:34 -07:00
Rafael Mendonça França
ef76ff97b6
Change Ruby extension to ruby-lsp (#566)
This is the extension that is recommended in the VSCode documentation now.

https://code.visualstudio.com/docs/languages/ruby
2023-06-29 15:00:56 -07:00
dependabot[bot]
b6dbe7051c
Bump mpmath from 1.2.1 to 1.3.0 in /test/oryx/sample-python (#554)
Bumps [mpmath](https://github.com/fredrik-johansson/mpmath) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/fredrik-johansson/mpmath/releases)
- [Changelog](https://github.com/mpmath/mpmath/blob/master/CHANGES)
- [Commits](https://github.com/fredrik-johansson/mpmath/compare/1.2.1...1.3.0)

---
updated-dependencies:
- dependency-name: mpmath
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-28 16:16:30 -07:00
Samruddhi Khandale
610286c369
Automated documentation update (#596)
Automated documentation update [skip ci]

Co-authored-by: github-actions <github-actions@github.com>
2023-06-28 14:17:06 -07:00
Melissa Weber Mendonça
972fdffa71
Add instructions to set up port forwarding on devcontainer.json file (#593) 2023-06-28 09:17:04 -07:00
Josh Spicer
ccce957d7e
Azure CLI: Compatibility with Debian bookworm (#578)
* add flag

* try to install via apt version of pipx (will only work on bookworm)

* _REMOTE_USER aware

* dont change more than you need to,josh

* increment azure-cli minor version (v1.1.0)

* install globally

* make sure env variables are in scope
2023-06-27 14:31:18 -07:00
Samruddhi Khandale
de40074875
Automated documentation update (#587)
Automated documentation update [skip ci]

Co-authored-by: github-actions <github-actions@github.com>
2023-06-23 16:16:30 -07:00
Josh Spicer
d934503a05
Terraform: Add cosign integrity check for TFLint (#586)
* add cosign integrity check for tflint

* fallback to gpg verification
2023-06-21 11:13:46 -07:00
Imamuzzaki Abu Salam
2258fcb040
feat(rust): add up to version 1.70 options (#579) 2023-06-20 10:34:07 -07:00
Samruddhi Khandale
2fb386db11
Automated documentation update (#585)
Automated documentation update [skip ci]

Co-authored-by: github-actions <github-actions@github.com>
2023-06-19 11:33:35 -07:00
Josh Spicer
931262d20c release terraform 2023-06-19 18:24:44 +00:00
Josh Spicer
ee9f0bfbf0
Temporaily pin TFLint to 0.46.1 (#583)
temporaily pin TFLint to 0.46.1

https://github.com/devcontainers/features/issues/581
2023-06-19 11:23:49 -07:00
Josh Spicer
367308c736
Add Debian Bookworm as a test base image (#575)
test against debian bookworm
2023-06-16 14:31:40 -07:00
Samruddhi Khandale
852f1f0567
Automated documentation update (#563)
Automated documentation update [skip ci]

Co-authored-by: github-actions <github-actions@github.com>
2023-05-31 11:55:51 -07:00
Shunya Hayashi
cfae3b0f0d
update go tools (#559)
* update go tools

* update link

* add unit tests for confirm installation

* fix path install gotests

* fix bump the minor version
2023-05-31 08:53:50 -07:00
Raymond
b48d8700ff
Update NOTES.md (#534)
* Update NOTES.md

#531: Quick document update about UID & GID using 1000 in devcontainer base images.

* Update src/common-utils/NOTES.md

@samruddhikhandale The common-utils Feature is used by most of the dev container images, along with the base image. Can we update the text?

Co-authored-by: Samruddhi Khandale <samruddhikhandale@github.com>

* Update src/common-utils/NOTES.md

@samruddhikhandale

Co-authored-by: Samruddhi Khandale <samruddhikhandale@github.com>

---------

Co-authored-by: Samruddhi Khandale <samruddhikhandale@github.com>
2023-05-22 12:23:23 -07:00
Stephen A. Imhoff
1869e5931c
Create .config directory in common-utils (#547)
* Add test case for mounted subdirectory.

* Correct some trailing whitespace.

* Correct variable name to better reflect status as user home path.

* Add config directory creation.

* Remove extra debug line.

* Bump feature version.

* Mount host user home directory as "subdirectory"

* Correct test naming, run test in explicit bash shell.
2023-05-10 10:04:16 -07:00
Samruddhi Khandale
4420cd5d27
Automated documentation update (#543)
Automated documentation update [skip ci]

Co-authored-by: github-actions <github-actions@github.com>
2023-05-09 13:52:06 -07:00
M. R
4312340798
Add support for skipping docker-compose v1 operations during Docker feature install script (#533)
* Add support for skipping docker-compose operations

* Move changes from auto-generated files to templates and bump version

* Add test

* Add test conditions

* Add test conditions for docker-outside-of-docker

* install.sh set -x for debugging

* set -x

* Move compose-switch check in docker-outside-of-docker test

* Put into correct test

* Test for correct path
2023-05-02 12:00:45 -07:00
Raymond
b16ff1efb7
Update devcontainer-feature.json (#539)
#535 update the patch version to 2.0.9
2023-05-01 08:38:01 -07:00
Raymond
e2b3b48bc5
Update devcontainer-feature.json (#535)
#531 Modify proposed UID & GID so as not to conflict with base image.
2023-05-01 08:37:43 -07:00
Felix Altenberg
f52ff611c5
Adds httpProxy option to Python Feature (#532)
* Adds httpProxy option to Python Feature
This option allows GPG to use a HTTP proxy to fetch keys from remote keyservers

* Updating minor version

Co-authored-by: Samruddhi Khandale <samruddhikhandale@github.com>

* Fixes minor formatting error

---------

Co-authored-by: Samruddhi Khandale <samruddhikhandale@github.com>
2023-04-28 13:38:25 -07:00
Samruddhi Khandale
fad03b19d4
Oryx - Switch to .NET 7 (#522)
* Oryx - Switch to .NET 7

* fix test ; add test

* fix test - back compat
2023-04-18 14:37:51 -07:00
Samruddhi Khandale
2237731474
Automated documentation update (#521)
Automated documentation update [skip ci]

Co-authored-by: github-actions <github-actions@github.com>
2023-04-14 13:48:25 -07:00
Alexander Smolyakov
8d3e9aca9d
[features/conda] Address CVE-2023-0286, CVE-2023-23931, and CVE-2022-40897 vulnerabilities (#518)
* [features/conda] Address CVE-2023-0286, CVE-2023-23931, and CVE-2022-40897 vulnerabilities

- Update `install.sh` to install updates for `cryptography` and `setuptools`  packages
- Add tests to verify `cryptography` and `setuptools`  packages version

* Bump feature version
2023-04-06 10:02:49 -07:00
Samruddhi Khandale
74959ec149
Automated documentation update (#517)
Automated documentation update [skip ci]

Co-authored-by: github-actions <github-actions@github.com>
2023-04-05 16:06:27 -07:00
Ryan Campbell
585ee2a42c
Removing forced gid 999 for docker (#515)
* Removing forced gid 999 for docker

* version bump

---------

Co-authored-by: Ryan Campbell <rycampbe@microsoft.com>
Co-authored-by: Samruddhi Khandale <samruddhikhandale@github.com>
2023-04-05 12:33:00 -07:00
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
Samruddhi Khandale
f0dd470ba8
Automated documentation update (#512)
Automated documentation update [skip ci]

Co-authored-by: github-actions <github-actions@github.com>
2023-04-04 10:05:12 -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
Jacob Hummer
0e079baaf7
Add contributing document (#488)
* Create CONTRIBUTING.md

* Direct questions to slack channel

Co-authored-by: Brigit Murtaugh <brigit.murtaugh@microsoft.com>

* Use "dev containers" and "Features"

Apparently devcontainers is two words, and apparently features is a proper noun? I guess 🤷‍♂️

* Prettier formatting

I used https://prettier.io/playground/ since I was editing in the GitHub web editor

* Clarify to "only accept improvements and bug fixes"

Co-authored-by: Samruddhi Khandale <samruddhikhandale@github.com>

* Be more explicit about custom features

Co-authored-by: Samruddhi Khandale <samruddhikhandale@github.com>

* Add link to CLI test docs

* Add semver step in guide

* More specificity in link text

https://github.com/devcontainers/features/pull/488#discussion_r1137819187

* Add CONTRIBUTING.md link in readme

---------

Co-authored-by: Brigit Murtaugh <brigit.murtaugh@microsoft.com>
Co-authored-by: Samruddhi Khandale <samruddhikhandale@github.com>
2023-03-23 16:07:08 -07:00
Samruddhi Khandale
e7e4aa8a98
Automated documentation update (#490)
Automated documentation update [skip ci]

Co-authored-by: github-actions <github-actions@github.com>
2023-03-14 09:17:38 -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
Eljo George
1449f416a0
Remove duplicate env var sourcing for codespaces (#481)
* Remove duplicate env var sourcing for codespaces
2023-03-10 12:27:28 -08:00