jghkfg
This commit is contained in:
parent
cbe46fb8f3
commit
344593d3a7
@ -20,7 +20,7 @@ RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
|
||||
### VLANG ###
|
||||
USER root
|
||||
ENV VLANG_VERSION="0.1.24"
|
||||
COPY gitpod/vlang_init3.sh /usr/bin/vlang_init
|
||||
COPY gitpod/vlang_init4.sh /usr/bin/vlang_init
|
||||
RUN chmod +x /usr/bin/vlang_init
|
||||
RUN vlang_init || exit 1
|
||||
|
||||
|
@ -137,7 +137,7 @@ fi
|
||||
# Add gitpod user in vlang group
|
||||
if ! groups | grep -qF "$VLANG_GROUP"; then
|
||||
usermod -a -G "$VLANG_GROUP" gitpod || die 1 "Unable to transfer user 'gitpod' in user-group '$VLANG_GROUP'"
|
||||
chmod 0775 "$VLANG_SOURCE" || die 1 "Unable to set ownership to '$VLANG_SOURCE"
|
||||
chmod -R 0775 "$VLANG_SOURCE" || die 1 "Unable to set ownership to '$VLANG_SOURCE"
|
||||
edebug "User 'gitpod' has been added in user-group '$VLANG_GROUP'"
|
||||
elif groups | grep -qF $VLANG_GROUP; then
|
||||
edebug "User 'gitpod' is already in user-group '$VLANG_GROUP'"
|
Loading…
Reference in New Issue
Block a user