-
Notifications
You must be signed in to change notification settings - Fork 72
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 #98 from NorthSecond/master
加入 Devcontainer 容器化环境支持
- Loading branch information
Showing
4 changed files
with
45 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
FROM texlive/texlive:TL2022-historic | ||
|
||
# Install additional packages & fonts | ||
RUN apt-get update -y \ | ||
&& \ | ||
apt-get install -y --no-install-recommends apt-transport-https ca-certificates software-properties-common \ | ||
&& \ | ||
sed -i '/^\([^#].*main\)*$/s/main/& contrib non-free/' /etc/apt/sources.list \ | ||
&& \ | ||
apt-get update -y \ | ||
&& \ | ||
apt-get install --no-install-recommends -y ttf-mscorefonts-installer make fonts-arphic-ukai fonts-noto-cjk-extra \ | ||
&& \ | ||
fc-cache | ||
|
||
ENV SHELL /bin/bash | ||
|
||
CMD ["/bin/bash"] |
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,14 @@ | ||
{ | ||
"build": { | ||
"dockerfile": "Dockerfile" | ||
}, | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"ms-ceintl.vscode-language-pack-zh-hans", | ||
"james-yu.latex-workshop", | ||
"nickfode.latex-formatter" | ||
] | ||
} | ||
} | ||
} |
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
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