File tree Expand file tree Collapse file tree 5 files changed +8
-4
lines changed Expand file tree Collapse file tree 5 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -58,6 +58,8 @@ RUN if [ "$(command -v unminimize)" ] && [ -n "$UNMINIMIZE" ]; then \
58
58
fi
59
59
60
60
RUN dpkgArch="$(dpkg --print-architecture)" \
61
+ # # Add user vscode to group users
62
+ && sed -i- 's/users:x:100:/users:x:100:vscode/g' /etc/group \
61
63
# # Ensure that common CA certificates
62
64
# # and OpenSSL libraries are up to date
63
65
&& apt-get update \
Original file line number Diff line number Diff line change @@ -60,6 +60,8 @@ RUN if [ "$(command -v unminimize)" ] && [ -n "$UNMINIMIZE" ]; then \
60
60
fi
61
61
62
62
RUN dpkgArch="$(dpkg --print-architecture)" \
63
+ # # Add user vscode to group users
64
+ && sed -i- 's/users:x:100:/users:x:100:vscode/g' /etc/group \
63
65
# # Ensure that common CA certificates
64
66
# # and OpenSSL libraries are up to date
65
67
&& apt-get update \
Original file line number Diff line number Diff line change @@ -55,6 +55,8 @@ RUN if [ "$(command -v unminimize)" ] && [ -n "$UNMINIMIZE" ]; then \
55
55
fi
56
56
57
57
RUN dpkgArch="$(dpkg --print-architecture)" \
58
+ # # Add user vscode to group users
59
+ && sed -i- 's/users:x:100:/users:x:100:vscode/g' /etc/group \
58
60
# # Ensure that common CA certificates
59
61
# # and OpenSSL libraries are up to date
60
62
&& apt-get update \
Original file line number Diff line number Diff line change @@ -136,6 +136,8 @@ RUN if [ -n "${RSTUDIO_VERSION}" ]; then \
136
136
fi
137
137
138
138
RUN dpkgArch="$(dpkg --print-architecture)" \
139
+ # # Add user vscode to group users
140
+ && sed -i- 's/users:x:100:/users:x:100:vscode/g' /etc/group \
139
141
# # Ensure that common CA certificates
140
142
# # and OpenSSL libraries are up to date
141
143
&& apt-get update \
Original file line number Diff line number Diff line change 4
4
5
5
set -e
6
6
7
- # Add user to group users
8
- sudo usermod -a -G users " $( id -un) "
9
- newgrp users
10
-
11
7
# Create user's private bin
12
8
mkdir -p " $HOME /.local/bin"
13
9
You can’t perform that action at this time.
0 commit comments