1
1

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.

超単純なPythonのDevcontainer

Posted at

目的

超単純(できるだけ最小構成)のPython開発環境(Docker)を作りたい

devcontainer.jspn

{
	"name": "Python 3.12 Dev",

	"dockerFile": "Dockerfile",
	"customizations": {
		"vscode":{
			"settings": {
				"terminal.integrated.shell.linux": "/bin/bash",
				"python.pythonPath": "/usr/local/bin/python"
			},
			"extensions": [
				"ms-python.python"
			]
		}
	}
}

書いてあることは名前・ドッカーファイル指定・vsコードのカスタマイズのみ

Dockerfile

FROM python:3.12

バージョン指定のみ

これでリビルドすれば動きます。

1
1
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
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?