Compare commits
No commits in common. "424eb89c004b632bb526075f847b375c26ba4bec" and "9ea4e093fc809a18d109800c477288b8fe14de8d" have entirely different histories.
424eb89c00
...
9ea4e093fc
@ -51,7 +51,6 @@ RUN apt-get update -y && apt-get upgrade -y && apt-get install --no-install-reco
|
|||||||
npm \
|
npm \
|
||||||
openssh-client \
|
openssh-client \
|
||||||
passwd \
|
passwd \
|
||||||
patch \
|
|
||||||
pipx \
|
pipx \
|
||||||
python3 \
|
python3 \
|
||||||
python3-pip \
|
python3-pip \
|
||||||
|
@ -96,23 +96,6 @@ until docker info >/dev/null 2>&1; do
|
|||||||
sleep 2
|
sleep 2
|
||||||
done
|
done
|
||||||
|
|
||||||
# ==== Install keybindings.json to enable terminal editor ====
|
|
||||||
if ! stat "$HOME_DIR/.local/share/code-server/User/keybindings.json" > /dev/null 2>&1; then
|
|
||||||
echo "[entrypoint] Creating default keybindings.json"
|
|
||||||
mkdir -p "$HOME_DIR/.local/share/code-server/User"
|
|
||||||
cat > "$HOME_DIR/.local/share/code-server/User/keybindings.json" <<EOF
|
|
||||||
[
|
|
||||||
{
|
|
||||||
"key": "ctrl+alt+t",
|
|
||||||
"command": "workbench.action.createTerminalEditor"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
EOF
|
|
||||||
chown -R "$DOCKER_USER:$DOCKER_USER" "$HOME_DIR/.local/share/code-server/User"
|
|
||||||
else
|
|
||||||
echo "[entrypoint] keybindings.json already exists, skipping creation."
|
|
||||||
fi
|
|
||||||
|
|
||||||
# ==== Install pre-commit ===
|
# ==== Install pre-commit ===
|
||||||
if ! command -v pre-commit >/dev/null 2>&1; then
|
if ! command -v pre-commit >/dev/null 2>&1; then
|
||||||
echo "[entrypoint] Installing pre-commit..."
|
echo "[entrypoint] Installing pre-commit..."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user