This commit is contained in:
commit
7136f4fb2f
3 changed files with 44 additions and 0 deletions
14
.drone.yml
Normal file
14
.drone.yml
Normal file
|
@ -0,0 +1,14 @@
|
|||
kind: pipeline
|
||||
type: docker
|
||||
name: build
|
||||
|
||||
steps:
|
||||
- name: build and public
|
||||
image: plugins/docker
|
||||
settings:
|
||||
registry: git.faercol.me
|
||||
image: faercol/latex
|
||||
username: faercol
|
||||
password: $GIT_PASSWORD
|
||||
repo: faercol/latex-docker
|
||||
tags: latest
|
27
Dockerfile
Normal file
27
Dockerfile
Normal file
|
@ -0,0 +1,27 @@
|
|||
FROM ubuntu:jammy
|
||||
LABEL author="Melora Hugues"
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
|
||||
RUN apt-get update -q \
|
||||
&& apt-get install -qy build-essential wget libfontconfig1 \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Install TexLive with scheme-basic
|
||||
RUN wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz; \
|
||||
mkdir /install-tl-unx; \
|
||||
tar -xvf install-tl-unx.tar.gz -C /install-tl-unx --strip-components=1; \
|
||||
echo "selected_scheme scheme-basic" >> /install-tl-unx/texlive.profile; \
|
||||
/install-tl-unx/install-tl -profile /install-tl-unx/texlive.profile; \
|
||||
rm -r /install-tl-unx; \
|
||||
rm install-tl-unx.tar.gz
|
||||
|
||||
ENV PATH="/usr/local/texlive/2022/bin/x86_64-linux:${PATH}"
|
||||
|
||||
ENV HOME /data
|
||||
WORKDIR /data
|
||||
|
||||
# Install latex packages
|
||||
RUN tlmgr install latexmk && \
|
||||
tlmgr install fontawesome
|
||||
|
||||
VOLUME ["/data"]
|
3
README.md
Normal file
3
README.md
Normal file
|
@ -0,0 +1,3 @@
|
|||
# Custom Docker image for LaTex documents
|
||||
|
||||
**TODO**
|
Loading…
Reference in a new issue