Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Move to using ubuntu as base with feature already installed for devcontainer

オープン
#277 コメント 3 件 リアクション 3 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
bash, docker, python, ubuntu, zsh

調査の方向性

devcontainer.json と既存の base-container セットアップを確認し、python-copier-template と epics-containers がそれをどのように利用するかを追跡します。Ubuntu LTS イメージに uv、bash、zsh、bash-config feature が含まれていることを確認し、生成された設定で永続的な bash-config mount が提供されることを検証します。

索引モデルが issue の本文から書いたものです。

説明

At the moment we:

  • Use python:3.xx as the base container
  • Make a venv
  • Install into it and use that
  • Apply the bash-config feature on top

This means that vscode is taking up to 30s adding in the feature every time. We were thinking of putting the feature in the base container for epics-containers but publishing this for multiple python bases would be prohibitive for the copier template.

However with uv we now have a different option:

  • Publish an ubuntu LTS derived devcontainer with uv, bash and zsh, and the bash-config feature installed
  • Use it for both python-copier-template and epics-containers
  • Get uv to manage the version of python

This should allow us to have a much better out of the box experience by pulling a single rarely changing base image that will be used for many purposes. The only downside is that every devcontainer.json will need to provide the mount of ${localEnv:HOME}/.config/bash-config to do persistent history, but as we use copier that is easy to arrange for.

As discussed with @gilesknap @callumforrester

主要言語
Jinja
スター
25
フォーク
10
平均マージ
4日 17時間
マージ済み PR(30日)
7

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

DiamondLightSource/python-copier-template のほかの issue

DiamondLightSource/python-copier-template の issue をすべて見る

似ている issue

DevTools の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。