| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* revert behavior of sourcing .profile in .zprofile
https://github.com/devcontainers/features/pull/736/files#diff-3e71c0a0669a0410f7dd0d8f2b83f3b6bf6b525d3eabd354f19f32822da669fcR460-R463
* add test
* increment version
* create empty .zprofile is not present, and fix test
* temporarily add back .profile to .zprofile (only if file did not exist)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix indentation in common-utils/main.sh
* common-utils: Fix install error on RHEL
On RHEL (and derivatives) the installation of the common-utils feature
could fail if the feature ran before (i.e., `PACKAGES_ALREADY_INSTALLED`
is set) and if either `INSTALL_ZSH` is false, or zsh was installed
earlier and `ZSH_ALREADY_INSTALLED` is true.
In these cases the script the `package_list` is empty, and `dnf`
terminates with the following error message:
```
usage: dnf install [-c [config file]] [-q] [-v] [--version]
[--installroot [path]] [--nodocs] [--noplugins]
[--enableplugin [plugin]] [--disableplugin [plugin]]
[--releasever RELEASEVER] [--setopt SETOPTS]
[--skip-broken] [-h] [--allowerasing] [-b | --nobest] [-C]
[-R [minutes]] [-d [debug level]] [--debugsolver]
[--showduplicates] [-e ERRORLEVEL] [--obsoletes]
[--rpmverbosity [debug level name]] [-y] [--assumeno]
[--enablerepo [repo]] [--disablerepo [repo] | --repo
[repo]] [--enable | --disable] [-x [package]]
[--disableexcludes [repo]] [--repofrompath [repo,path]]
[--noautoremove] [--nogpgcheck] [--color COLOR] [--refresh]
[-4] [-6] [--destdir DESTDIR] [--downloadonly]
[--comment COMMENT] [--bugfix] [--enhancement]
[--newpackage] [--security] [--advisory ADVISORY]
[--bz BUGZILLA] [--cve CVES]
[--sec-severity {Critical,Important,Moderate,Low}]
[--forcearch ARCH]
PACKAGE [PACKAGE ...]
dnf install: error: the following arguments are required: PACKAGE
```
Fix the problem by running `dnf` only with a non-zero `package_list`.
|
|
|
|
|
|
|
|
|
| |
* [common-utils] Bug fix: zsp missing rc snippet
* condion rc snippet
* fix bug
* remove debugging step
|
|
|
|
|
|
|
| |
* [common-utils] fix bug when user home is custom by base docker
* bumped minor version
* reduced conditions to improve readability
|
|
|
|
|
|
|
|
|
|
|
| |
"installZsh:false" (#649)
* [common-utils]: Bug fix: Installs zsh on an image built with installZsh:false
* version bump
* nit: fix merge conflicts
* Version bump
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
directory (#662)
* Update main.sh
* Update devcontainer-feature.json
* Test install as non root user.
---------
Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com>
|
|
|
|
|
|
|
| |
* add checks for "jq"
* install epel-release if necessary
* clean up epel-release post installation of "jq"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
| |
* [common-utils] Fix nonempty .bashrc being restored
The user's dotfiles shall only be restored to their defaults if they do
not exist or are empty. A missing negation caused the files to be
overwritten even when they were nonempty.
* [common-utils] Bump patch version after fix
Go from 2.0.7 to 2.0.8 because of backwards-compatible fix.
|
| |
|
|
|
|
|
|
|
|
|
| |
* CommonUtils - ensure home directory exists.
* Only create non-root home directory
Root directory will always exist.
* Bump version
|
|
|
|
|
| |
* Common-utils: Fix build failures for alpine 3.14 & 3.15
* version bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
| |
* Install gawk RPM
This script requires awk and it may not be available on a
minimal distro like Mariner
* Bump version number
|
| |
|
|
|
|
|
|
|
|
|
| |
field for saving source revisions (#359)
* support the new path of meta.env
* support the new field for the image revision
* minor formatting
|
| |
|
|
|