-
-
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.
Signed-off-by: KhulnaSoft bot <[email protected]>
- Loading branch information
1 parent
1167043
commit c85e629
Showing
1 changed file
with
44 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
#------------------------------------------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information. | ||
#------------------------------------------------------------------------------------------------------------- | ||
|
||
FROM debian:bullseye-slim | ||
|
||
ENV DEBIAN_FRONTEND=noninteractive | ||
RUN apt-get update \ | ||
&& apt-get -y install --no-install-recommends apt-utils 2>&1 | ||
|
||
# https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions | ||
# https://github.com/nodesource/distributions/blob/master/README.md#installation-instructions | ||
RUN apt -y install curl | ||
RUN curl -fsSL https://deb.nodesource.com/setup_16.x | bash - | ||
RUN apt-get install -y nodejs | ||
|
||
# Verify git and needed tools are installed | ||
RUN apt-get install --no-install-recommends -y git procps | ||
|
||
# Install Tex Live | ||
RUN apt-get update && apt-get -y upgrade \ | ||
&& apt-get -y install --no-install-recommends \ | ||
texlive-dev-base \ | ||
texlive-extra-utils \ | ||
texlive-dev-extra \ | ||
biber chktex devmk make python3-pygments \ | ||
texlive-lang-chinese \ | ||
texlive-lang-japanese | ||
|
||
# devindent modules | ||
RUN curl -L http://cpanmin.us | perl - App::cpanminus \ | ||
&& cpanm Log::Dispatch::File \ | ||
&& cpanm YAML::Tiny \ | ||
&& cpanm File::HomeDir \ | ||
&& cpanm Unicode::GCString | ||
|
||
# Clean up | ||
RUN apt-get autoremove -y \ | ||
&& apt-get clean -y \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
ENV DEBIAN_FRONTEND=dialog \ | ||
LANG=C.UTF-8 \ | ||
LC_ALL=C.UTF-8 |