Newer
Older
FROM golang:1.13-buster as golang
RUN go get github.com/spelufo/on-change && \
go get github.com/sugyan/ttyrec2gif
COPY --from=golang /go/bin/on-change /go/bin/ttyrec2gif /usr/local/bin/
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
texlive-fonts-recommended \
texlive-font-utils \
texlive-latex-base \
texlive-latex-extra \
rm -rf /tmp/* /var/tmp/* /var/lib/apt/lists/* /var/cache/apt/archives/*
ADD [ "https://www.shore.co.il/blog/static/runas", "/entrypoint" ]
ENTRYPOINT [ "/bin/sh", "/entrypoint" ]
VOLUME /volume
WORKDIR /volume
ENV HOME /volume