diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 0a3d95fbc..9a4554f6c 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -4,7 +4,7 @@ ENV TERM xterm-256color ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update -yq && \ - apt-get install -yq git wget rpm rpm2cpio cpio make build-essential binutils m4 && \ + apt-get install -yq locales git wget rpm rpm2cpio cpio make build-essential binutils m4 && \ printf 'en_US.UTF-8 UTF-8\n' > /etc/locale.gen && \ locale-gen && \ rm -rf /var/lib/apt/lists/* diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index a4e63ae73..91a571a2d 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,7 +1,6 @@ { "name": "OceanBase", - "image": "ubuntu:20.04", - "updateRemoteUserUID": true, + "dockerFile": "Dockerfile", "postAttachCommand": "bash", "customizations": { "vscode": {