Created
November 25, 2025 13:01
-
-
Save redpeacock78/243e8b2b1989a7fba06c9e3b03f2b2cb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM debian:stable-slim | |
| ENV LANG=ja_JP.UTF-8 | |
| ENV LANGUAGE=ja_JP:ja | |
| ENV LC_ALL=ja_JP.UTF-8 | |
| ENV PATH="/root/.texenv/bin:/root/.texenv/shims:/root/.plenv/shims:/root/.anyenv/envs/plenv/bin:/root/.anyenv/bin:${PATH}" | |
| RUN dpkg --add-architecture amd64 && \ | |
| apt-get update && \ | |
| apt-get install -y git curl gcc make locales libfontconfig1:amd64 && \ | |
| rm -rf /var/lib/apt/lists/* && \ | |
| locale-gen ja_JP.UTF-8 && \ | |
| localedef -f UTF-8 -i ja_JP ja_JP && \ | |
| git clone https://github.com/anyenv/anyenv.git ~/.anyenv && \ | |
| anyenv install --force-init && \ | |
| anyenv install plenv && \ | |
| rm -rf "$(anyenv root)/envs/plenv/plugins/perl-build" && \ | |
| git clone https://github.com/skaji/perl-install.git "$(plenv root)/plugins/perl-install" && \ | |
| git clone https://github.com/skaji/plenv-download.git "$(plenv root)/plugins/plenv-download" && \ | |
| PERL_LATEST_VERSION="$(plenv download --list | sort -V | tail -n1)" && \ | |
| plenv download "${PERL_LATEST_VERSION}" && \ | |
| plenv global "relocatable-${PERL_LATEST_VERSION}" && \ | |
| plenv rehash && \ | |
| curl -fsSL https://raw.githubusercontent.com/skaji/cpm/main/cpm > /usr/local/bin/cpm && \ | |
| chmod +x /usr/local/bin/cpm && \ | |
| cpm install -g Log::Log4perl Log::Dispatch::File YAML::Tiny File::HomeDir Unicode::GCString && \ | |
| git clone https://github.com/redpeacock78/texenv.git ~/.texenv && \ | |
| texenv init && \ | |
| TINYTEX_LATEST_VERSION="$(texenv install --list | grep -v daily | sort -V | tail -n1)" && \ | |
| texenv install "${TINYTEX_LATEST_VERSION}" && \ | |
| texenv global "${TINYTEX_LATEST_VERSION}" && \ | |
| tlmgr update --self --all && \ | |
| tlmgr install latexmk latexindent collection-langjapanese | |
| WORKDIR /workspace | |
| CMD [ "bash" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment