-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from eguchi1611/feature/create-gnuplot-image
gnuplotのイメージも作成する
- Loading branch information
Showing
7 changed files
with
72 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
FROM buildpack-deps:bookworm-scm | ||
|
||
ENV PATH=/usr/local/texlive/bin:$PATH | ||
|
||
WORKDIR /texlive-install | ||
|
||
COPY ./texlive.profile . | ||
|
||
# texliveをインストール | ||
RUN wget https://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz \ | ||
&& tar -xf install-tl-unx.tar.gz --strip-components 1 \ | ||
&& ./install-tl -profile texlive.profile \ | ||
&& ln -sf /usr/local/texlive/*/bin/* /usr/local/texlive/bin | ||
|
||
# latexmkのインストール | ||
RUN tlmgr install latexmk | ||
|
||
# GhostscriptとGnuplotをインストール | ||
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ | ||
&& apt-get -y install --no-install-recommends ghostscript gnuplot \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
WORKDIR /usr/local/texlive/texmf-local/tex/latex/gnuplot | ||
|
||
# gnuplot-lua-tikzをインストール | ||
RUN gnuplot -e 'set term tikz createstyle' \ | ||
&& mktexlsr | ||
|
||
WORKDIR / | ||
|
||
RUN rm -rf /texlive-install |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"name": "TeX Live", | ||
"build": { | ||
"dockerfile": "Dockerfile" | ||
}, | ||
"features": { | ||
"ghcr.io/devcontainers/features/common-utils:2": { | ||
"username": "vscode" | ||
}, | ||
"ghcr.io/devcontainers/features/git:1": {} | ||
}, | ||
"customizations": { | ||
"vscode": { | ||
"extensions": ["James-Yu.latex-workshop"], | ||
"settings": { | ||
"latex-workshop.latex.recipe.default": "latexmk (latexmkrc)" | ||
} | ||
} | ||
}, | ||
"remoteUser": "vscode" | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# https://tug.org/texlive/doc/install-tl.html#PROFILES | ||
selected_scheme scheme-custom | ||
|
||
collection-basic 1 | ||
collection-fontsrecommended 1 | ||
collection-langcjk 1 | ||
collection-langjapanese 1 | ||
collection-latex 1 | ||
collection-latexextra 1 | ||
collection-latexrecommended 1 | ||
collection-mathscience 1 | ||
collection-pictures 1 | ||
|
||
tlpdbopt_install_docfiles 0 | ||
tlpdbopt_install_srcfiles 0 |