Skip to content

Commit

Permalink
Moved Dockerfile for gitpod.
Browse files Browse the repository at this point in the history
  • Loading branch information
liuxinyu95 committed Feb 20, 2024
1 parent 90b0798 commit 05060f5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 48 deletions.
41 changes: 0 additions & 41 deletions .docker/Dockerfile

This file was deleted.

19 changes: 12 additions & 7 deletions .docker/gitpod/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,20 @@ FROM ubuntu:jammy

USER root

# apk add make font-noto-cjk ttf-freefont
RUN apt-get update && apt-get install make perl font-noto-cjk ttf-freefont sudo git curl git bash-completion -y && apt-get clean
RUN apt-get update && \
apt-get install -y \
make perl \
fonts-noto-cjk fonts-freefont-ttf \
sudo git curl bash-completion && \
apt-get clean && \
rm -rf /var/cache/apt/* && rm -rf /var/lib/apt/lists/* && rm -rf /tmp/*

# install texlive, reference from: https://www.tug.org/texlive/quickinstall.html

# install tex-live
# reference from: https://www.tug.org/texlive/quickinstall.html
RUN wget https://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz
RUN zcat < install-tl-unx.tar.gz | tar xf -
RUN cd install-tl-*
RUN perl ./install-tl --no-interaction # as root or with writable destination
RUN zcat < install-tl-unx.tar.gz | tar xf - && \
cd install-tl-* && \
perl ./install-tl --no-interaction # as root or with writable destination

RUN useradd -l -u 33333 -G sudo -md /home/gitpod -s /bin/bash -p gitpod gitpod \
# passwordless sudo for users in the 'sudo' group
Expand Down

0 comments on commit 05060f5

Please sign in to comment.