Skip to content

Commit

Permalink
Create Dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: KhulnaSoft bot <[email protected]>
  • Loading branch information
khulnasoft-bot authored Aug 31, 2024
1 parent 1167043 commit c85e629
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .devcontainer/stable/Dockerfile
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

0 comments on commit c85e629

Please sign in to comment.