0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

VsCodeの拡張機能「Remote-Containers」を利用してコンテナ上で「plantuml」を実行するための設定

Posted at

#VsCodeの拡張機能「Remote-Containers」を利用してコンテナ上で「plantuml」を実行するための設定
業務端末で拡張機能を入れる場合、利用申請が必要になるがコンテナ上であれば申請がいらないということなので、その設定ファイルをメモとして残しておく。
動かすことを目的としているため、設定項目が理想的かどうかは要確認。

devcontainer.json
{
  "name": "myjava",
  "dockerComposeFile": "docker-compose.yml",
  "service": "workspace",
  "workspaceFolder": "/var/sample_sandbox",
  "settings": {
    "editor.tabSize": 4
  },
  "shutdownAction": "stopCompose",
  "extensions": [
    "jebbs.plantuml",
    "vscjava.vscode-java-pack"
  ]
}
docker-compose.yml
version: "3"

services:
    workspace:
        build: workspace
        command: sleep infinity
        volumes:
            - ../:/var/sample_sandbox/
        ports: 
            - 8000:8000

FROM openjdk

##フォルダ構成

C:.
├─.devcontainer
│      devcontainer.json
│      docker-compose.yml
└─workspace
        Dockerfile
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?