Skip to content

Commit

Permalink
blah
Browse files Browse the repository at this point in the history
  • Loading branch information
Zorlin committed Dec 31, 2023
1 parent 9912abe commit ea674ad
Showing 1 changed file with 1 addition and 28 deletions.
29 changes: 1 addition & 28 deletions .devcontainer/entrypoint-dev.sh
Original file line number Diff line number Diff line change
@@ -1,32 +1,5 @@
#!/bin/bash

USER=vscode

# Reconfigure User id if set by user
if [ ! -z "${USER_UID}" ] && [ "${USER_UID}" != "`id -u ${USER}`" ] ; then
echo -n "Update uid for user ${USER} with ${USER_UID}"
usermod -u ${USER_UID} ${USER}
echo "... updated"
else
echo "skipping UID configuration"
fi

if [ -n "${USER_GID}" ] && [ "${USER_GID}" != "`id -g ${USER}`" ] ; then
echo -n "Update gid for group ${USER} with ${USER_GID}"
usermod -u ${USER_UID} ${USER}
echo "... updated"
else
echo "skipping GID configuration"
fi

#if [ -z "$SSH_AUTH_SOCK" ]; then
# # Check for a currently running instance of the agent
# RUNNING_AGENT="`ps -ax | grep 'ssh-agent -s' | grep -v grep | wc -l | tr -d '[:space:]'`"
# if [ "$RUNNING_AGENT" = "0" ]; then
# # Launch a new instance of the agent
# ssh-agent -s &> $HOME/.ssh/ssh-agent
# fi
# eval `cat $HOME/.ssh/ssh-agent`
#fi
USER=root

/bin/sh -c "while sleep 1000; do :; done"

0 comments on commit ea674ad

Please sign in to comment.