From c4ebd8d151212f9a8e456f557def9bb324561093 Mon Sep 17 00:00:00 2001 From: lifegpc Date: Fri, 27 May 2022 12:14:54 +0000 Subject: [PATCH] Update devcontainer --- .devcontainer/all/Dockerfile | 2 ++ .devcontainer/all/devcontainer.json | 7 +++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.devcontainer/all/Dockerfile b/.devcontainer/all/Dockerfile index 481ffa2..ab96bb5 100644 --- a/.devcontainer/all/Dockerfile +++ b/.devcontainer/all/Dockerfile @@ -39,3 +39,5 @@ RUN cd ~ && git clone --depth 1 'https://git.ffmpeg.org/ffmpeg.git' && cd ffmpeg RUN curl https://sh.rustup.rs -sSf | \ sh -s -- --default-toolchain nightly -y ENV PATH=/root/.cargo/bin:$PATH +# Enable GPG sign by default +RUN git config commit.gpgsign true diff --git a/.devcontainer/all/devcontainer.json b/.devcontainer/all/devcontainer.json index 6acc379..9cbd876 100644 --- a/.devcontainer/all/devcontainer.json +++ b/.devcontainer/all/devcontainer.json @@ -4,9 +4,7 @@ "dockerfile": "Dockerfile" }, "extensions": [ - "rust-lang.rust-analyzer", - "GitHub.copilot", - "ms-vscode.hexeditor" + "rust-lang.rust-analyzer" ], "settings": { "rust-analyzer.cargo.features": [ @@ -24,5 +22,6 @@ } } } - } + }, + "postCreateCommand": "cd /workspaces/pixiv_downloader && git submodule update --init" }