FROM docker.io/amd64/fedora:38 RUN dnf update -y RUN dnf install -y git glibc-locale-source glibc-langpack-ja \ zsh python3 python3-pip \ util-linux util-linux-user \ which \ && dnf clean all \ && rm -rf /var/cache/dnf ENV LC_ALL=ja_JP.UTF-8 LANG=ja_JP.UTF-8 LANGUAGE=ja_JP.UTF-8 TZ=Asia/Tokyo RUN localedef --force -i ja_JP -f UTF-8 ja_JP.UTF-8 \ && ln -snf /usr/share/zoneinfo/$TZ /etc/localtime \ && echo $TZ > /etc/timezone RUN sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" \ && chsh -s $(which zsh) # && rm -f /bin/sh && ln -s /bin/zsh /bin/sh RUN python3 -m pip install --user pipx \ && python3 -m pipx ensurepath \ && pip cache purge RUN source ~/.bashrc && pipx install --include-deps jupyterlab \ && pipx inject jupyterlab \ jupyterlab-language-pack-ja-JP jupyterlab-git \ jupyterlab-drawio jupyterlab-lsp \ jupyter-ai jupyter-ai-magics \ && pipx runpip jupyterlab cache purge