see #72: use travis-ci

This commit is contained in:
Changkun Ou
2019-07-15 11:54:30 +02:00
parent 407f6eda32
commit 325b9664a8
13 changed files with 101 additions and 32 deletions

18
docker/Dockerfile Normal file
View File

@@ -0,0 +1,18 @@
FROM node:latest
LABEL "maintainer"="Changkun Ou <hi@changkun.us>"
LABEL "repository"="https://github.com/changkun/modern-cpp-tutorial"
LABEL "homepage"="https://changkun.de/modern-cpp/"
# FUCKING UNICODE
ENV LANG C.UTF-8
ENV LC_ALL C.UTF-8
WORKDIR /modern-cpp-tutorial
# Node & Npm & Python3 are from node:latest
# Install Texlive & Pandoc
RUN apt update && \
apt install wget texlive-full -y && \
wget https://github.com/jgm/pandoc/releases/download/2.7.3/pandoc-2.7.3-1-amd64.deb && \
dpkg -i pandoc-2.7.3-1-amd64.deb