Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
devcontainer-features
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
eazydevelop-devcontainer-temp
devcontainer-features
Commits
dd7e7d65
Commit
dd7e7d65
authored
Jun 14, 2022
by
Samruddhi Khandale
Committed by
GitHub
Jun 14, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add username:user_group
parent
423b6d55
Changes
11
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
11 additions
and
11 deletions
+11
-11
install.sh
src/anaconda/install.sh
+1
-1
install.sh
src/dotnet/install.sh
+1
-1
install.sh
src/go/install.sh
+1
-1
install.sh
src/hugo/install.sh
+1
-1
install.sh
src/java/install.sh
+1
-1
install.sh
src/node/install.sh
+1
-1
install.sh
src/oryx/install.sh
+1
-1
install.sh
src/php/install.sh
+1
-1
install.sh
src/python/install.sh
+1
-1
install.sh
src/ruby/install.sh
+1
-1
install.sh
src/rust/install.sh
+1
-1
No files found.
src/anaconda/install.sh
View file @
dd7e7d65
...
@@ -80,7 +80,7 @@ if ! conda --version &> /dev/null ; then
...
@@ -80,7 +80,7 @@ if ! conda --version &> /dev/null ; then
check_packages wget ca-certificates
check_packages wget ca-certificates
mkdir
-p
$CONDA_DIR
mkdir
-p
$CONDA_DIR
chown
-R
:conda
"
${
CONDA_DIR
}
"
chown
-R
"
${
USERNAME
}
:conda"
"
${
CONDA_DIR
}
"
chmod
-R
g+r+w
"
${
CONDA_DIR
}
"
chmod
-R
g+r+w
"
${
CONDA_DIR
}
"
find
"
${
CONDA_DIR
}
"
-type
d | xargs
-n
1
chmod
g+s
find
"
${
CONDA_DIR
}
"
-type
d | xargs
-n
1
chmod
g+s
...
...
src/dotnet/install.sh
View file @
dd7e7d65
...
@@ -419,7 +419,7 @@ else
...
@@ -419,7 +419,7 @@ else
install_using_dotnet_releases_url
"
${
DOTNET_SDK_OR_RUNTIME
}
"
install_using_dotnet_releases_url
"
${
DOTNET_SDK_OR_RUNTIME
}
"
chown
-R
:dotnet
"
${
TARGET_DOTNET_ROOT
}
"
chown
-R
"
${
USERNAME
}
:dotnet"
"
${
TARGET_DOTNET_ROOT
}
"
chmod
-R
g+r+w
"
${
TARGET_DOTNET_ROOT
}
"
chmod
-R
g+r+w
"
${
TARGET_DOTNET_ROOT
}
"
find
"
${
TARGET_DOTNET_ROOT
}
"
-type
d | xargs
-n
1
chmod
g+s
find
"
${
TARGET_DOTNET_ROOT
}
"
-type
d | xargs
-n
1
chmod
g+s
fi
fi
...
...
src/go/install.sh
View file @
dd7e7d65
...
@@ -245,7 +245,7 @@ if [[ "\${PATH}" != *"\${GOROOT}/bin"* ]]; then export PATH="\${PATH}:\${GOROOT}
...
@@ -245,7 +245,7 @@ if [[ "\${PATH}" != *"\${GOROOT}/bin"* ]]; then export PATH="\${PATH}:\${GOROOT}
EOF
EOF
)
"
)
"
chown
-R
:golang
"
${
TARGET_GOROOT
}
"
"
${
TARGET_GOPATH
}
"
chown
-R
"
${
USERNAME
}
:golang"
"
${
TARGET_GOROOT
}
"
"
${
TARGET_GOPATH
}
"
chmod
-R
g+r+w
"
${
TARGET_GOROOT
}
"
"
${
TARGET_GOPATH
}
"
chmod
-R
g+r+w
"
${
TARGET_GOROOT
}
"
"
${
TARGET_GOPATH
}
"
find
"
${
TARGET_GOROOT
}
"
-type
d | xargs
-n
1
chmod
g+s
find
"
${
TARGET_GOROOT
}
"
-type
d | xargs
-n
1
chmod
g+s
find
"
${
TARGET_GOPATH
}
"
-type
d | xargs
-n
1
chmod
g+s
find
"
${
TARGET_GOPATH
}
"
-type
d | xargs
-n
1
chmod
g+s
...
...
src/hugo/install.sh
View file @
dd7e7d65
...
@@ -114,7 +114,7 @@ if ! hugo version &> /dev/null ; then
...
@@ -114,7 +114,7 @@ if ! hugo version &> /dev/null ; then
updaterc
"export HUGO_DIR=
${
installation_dir
}
"
updaterc
"export HUGO_DIR=
${
installation_dir
}
"
chown
-R
:hugo
"
${
HUGO_DIR
}
"
chown
-R
"
${
USERNAME
}
:hugo"
"
${
HUGO_DIR
}
"
chmod
-R
g+r+w
"
${
HUGO_DIR
}
"
chmod
-R
g+r+w
"
${
HUGO_DIR
}
"
find
"
${
HUGO_DIR
}
"
-type
d | xargs
-n
1
chmod
g+s
find
"
${
HUGO_DIR
}
"
-type
d | xargs
-n
1
chmod
g+s
fi
fi
...
...
src/java/install.sh
View file @
dd7e7d65
...
@@ -127,7 +127,7 @@ if [ ! -d "${SDKMAN_DIR}" ]; then
...
@@ -127,7 +127,7 @@ if [ ! -d "${SDKMAN_DIR}" ]; then
umask
0002
umask
0002
# Install SDKMAN
# Install SDKMAN
curl
-sSL
"https://get.sdkman.io?rcupdate=false"
| bash
curl
-sSL
"https://get.sdkman.io?rcupdate=false"
| bash
chown
-R
:sdkman
${
SDKMAN_DIR
}
chown
-R
"
${
USERNAME
}
:sdkman"
${
SDKMAN_DIR
}
find
${
SDKMAN_DIR
}
-type
d | xargs
-d
'\n'
chmod
g+s
find
${
SDKMAN_DIR
}
-type
d | xargs
-d
'\n'
chmod
g+s
# Add sourcing of sdkman into bashrc/zshrc files (unless disabled)
# Add sourcing of sdkman into bashrc/zshrc files (unless disabled)
updaterc
"export SDKMAN_DIR=
${
SDKMAN_DIR
}
\n
.
\$
{SDKMAN_DIR}/bin/sdkman-init.sh"
updaterc
"export SDKMAN_DIR=
${
SDKMAN_DIR
}
\n
.
\$
{SDKMAN_DIR}/bin/sdkman-init.sh"
...
...
src/node/install.sh
View file @
dd7e7d65
...
@@ -121,7 +121,7 @@ fi
...
@@ -121,7 +121,7 @@ fi
umask
0002
umask
0002
usermod
-a
-G
nvm
${
USERNAME
}
usermod
-a
-G
nvm
${
USERNAME
}
mkdir
-p
${
NVM_DIR
}
mkdir
-p
${
NVM_DIR
}
chown
:nvm
${
NVM_DIR
}
chown
"
${
USERNAME
}
:nvm"
${
NVM_DIR
}
chmod
g+s
${
NVM_DIR
}
chmod
g+s
${
NVM_DIR
}
su
${
USERNAME
}
-c
"
$(
cat
<<
EOF
su
${
USERNAME
}
-c
"
$(
cat
<<
EOF
set -e
set -e
...
...
src/oryx/install.sh
View file @
dd7e7d65
...
@@ -127,7 +127,7 @@ if ! oryx --version > /dev/null ; then
...
@@ -127,7 +127,7 @@ if ! oryx --version > /dev/null ; then
updaterc
"export ORYX_SDK_STORAGE_BASE_URL=https://oryx-cdn.microsoft.io && export ENABLE_DYNAMIC_INSTALL=true && DYNAMIC_INSTALL_ROOT_DIR=
$ORYX_INSTALL_DIR
&& ORYX_PREFER_USER_INSTALLED_SDKS=true"
updaterc
"export ORYX_SDK_STORAGE_BASE_URL=https://oryx-cdn.microsoft.io && export ENABLE_DYNAMIC_INSTALL=true && DYNAMIC_INSTALL_ROOT_DIR=
$ORYX_INSTALL_DIR
&& ORYX_PREFER_USER_INSTALLED_SDKS=true"
chown
-R
:oryx
"
${
ORYX_INSTALL_DIR
}
"
"
${
BUILD_SCRIPT_GENERATOR
}
"
"
${
ORYX
}
"
chown
-R
"
${
USERNAME
}
:oryx"
"
${
ORYX_INSTALL_DIR
}
"
"
${
BUILD_SCRIPT_GENERATOR
}
"
"
${
ORYX
}
"
chmod
-R
g+r+w
"
${
ORYX_INSTALL_DIR
}
"
"
${
BUILD_SCRIPT_GENERATOR
}
"
"
${
ORYX
}
"
chmod
-R
g+r+w
"
${
ORYX_INSTALL_DIR
}
"
"
${
BUILD_SCRIPT_GENERATOR
}
"
"
${
ORYX
}
"
find
"
${
ORYX_INSTALL_DIR
}
"
-type
d | xargs
-n
1
chmod
g+s
find
"
${
ORYX_INSTALL_DIR
}
"
-type
d | xargs
-n
1
chmod
g+s
find
"
${
BUILD_SCRIPT_GENERATOR
}
"
-type
d | xargs
-n
1
chmod
g+s
find
"
${
BUILD_SCRIPT_GENERATOR
}
"
-type
d | xargs
-n
1
chmod
g+s
...
...
src/php/install.sh
View file @
dd7e7d65
...
@@ -197,7 +197,7 @@ rm -rf ${PHP_SRC_DIR}
...
@@ -197,7 +197,7 @@ rm -rf ${PHP_SRC_DIR}
updaterc
"if [[
\"\$
{PATH}
\"
!= *
\"
${
CURRENT_DIR
}
\"
* ]]; then export PATH=
${
CURRENT_DIR
}
/bin:
\$
{PATH}; fi"
updaterc
"if [[
\"\$
{PATH}
\"
!= *
\"
${
CURRENT_DIR
}
\"
* ]]; then export PATH=
${
CURRENT_DIR
}
/bin:
\$
{PATH}; fi"
chown
-R
:php
"
${
PHP_DIR
}
"
chown
-R
"
${
USERNAME
}
:php"
"
${
PHP_DIR
}
"
chmod
-R
g+r+w
"
${
PHP_DIR
}
"
chmod
-R
g+r+w
"
${
PHP_DIR
}
"
find
"
${
PHP_DIR
}
"
-type
d | xargs
-n
1
chmod
g+s
find
"
${
PHP_DIR
}
"
-type
d | xargs
-n
1
chmod
g+s
...
...
src/python/install.sh
View file @
dd7e7d65
...
@@ -412,7 +412,7 @@ if [ "${INSTALL_PYTHON_TOOLS}" = "true" ] && [ "${PYTHON_VERSION}" != "none" ];
...
@@ -412,7 +412,7 @@ if [ "${INSTALL_PYTHON_TOOLS}" = "true" ] && [ "${PYTHON_VERSION}" != "none" ];
updaterc
"export PIPX_BIN_DIR=
\"
${
PIPX_BIN_DIR
}
\"
"
updaterc
"export PIPX_BIN_DIR=
\"
${
PIPX_BIN_DIR
}
\"
"
updaterc
"if [[
\"\$
{PATH}
\"
!= *
\"\$
{PIPX_BIN_DIR}
\"
* ]]; then export PATH=
\"\$
{PATH}:
\$
{PIPX_BIN_DIR}
\"
; fi"
updaterc
"if [[
\"\$
{PATH}
\"
!= *
\"\$
{PIPX_BIN_DIR}
\"
* ]]; then export PATH=
\"\$
{PATH}:
\$
{PIPX_BIN_DIR}
\"
; fi"
chown
-R
:python
"
${
PIPX_HOME
}
"
chown
-R
"
${
USERNAME
}
:python"
"
${
PIPX_HOME
}
"
chmod
-R
g+r+w
"
${
PIPX_HOME
}
"
chmod
-R
g+r+w
"
${
PIPX_HOME
}
"
find
"
${
PIPX_HOME
}
"
-type
d | xargs
-n
1
chmod
g+s
find
"
${
PIPX_HOME
}
"
-type
d | xargs
-n
1
chmod
g+s
fi
fi
...
...
src/ruby/install.sh
View file @
dd7e7d65
...
@@ -277,7 +277,7 @@ if [ "${SKIP_RBENV_RBUILD}" != "true" ]; then
...
@@ -277,7 +277,7 @@ if [ "${SKIP_RBENV_RBUILD}" != "true" ]; then
ln
-s
/usr/local/rvm/rubies/default/bin/ruby /usr/local/rvm/gems/default/bin
ln
-s
/usr/local/rvm/rubies/default/bin/ruby /usr/local/rvm/gems/default/bin
chown
-R
:rvm
"/home/
${
USERNAME
}
/.rbenv"
chown
-R
"
${
USERNAME
}
:rvm"
"/home/
${
USERNAME
}
/.rbenv"
chmod
-R
g+r+w
"/home/
${
USERNAME
}
/.rbenv"
chmod
-R
g+r+w
"/home/
${
USERNAME
}
/.rbenv"
find
"/home/
${
USERNAME
}
/.rbenv"
-type
d | xargs
-n
1
chmod
g+s
find
"/home/
${
USERNAME
}
/.rbenv"
-type
d | xargs
-n
1
chmod
g+s
fi
fi
...
...
src/rust/install.sh
View file @
dd7e7d65
...
@@ -147,7 +147,7 @@ if ! cat /etc/group | grep -e "^rustlang:" > /dev/null 2>&1; then
...
@@ -147,7 +147,7 @@ if ! cat /etc/group | grep -e "^rustlang:" > /dev/null 2>&1; then
fi
fi
usermod
-a
-G
rustlang
"
${
USERNAME
}
"
usermod
-a
-G
rustlang
"
${
USERNAME
}
"
mkdir
-p
"
${
CARGO_HOME
}
"
"
${
RUSTUP_HOME
}
"
mkdir
-p
"
${
CARGO_HOME
}
"
"
${
RUSTUP_HOME
}
"
chown
:rustlang
"
${
RUSTUP_HOME
}
"
"
${
CARGO_HOME
}
"
chown
"
${
USERNAME
}
:rustlang"
"
${
RUSTUP_HOME
}
"
"
${
CARGO_HOME
}
"
chmod
g+r+w+s
"
${
RUSTUP_HOME
}
"
"
${
CARGO_HOME
}
"
chmod
g+r+w+s
"
${
RUSTUP_HOME
}
"
"
${
CARGO_HOME
}
"
if
[
"
${
RUST_VERSION
}
"
=
"none"
]
||
type
rustup
>
/dev/null 2>&1
;
then
if
[
"
${
RUST_VERSION
}
"
=
"none"
]
||
type
rustup
>
/dev/null 2>&1
;
then
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment