- use docker
- add env lines in .bashrc
export DOCKER_TLS_VERIFY="1" export DOCKER_HOST="tcp://192.168.99.100:2376" export DOCKER_CERT_PATH="$HOME\.docker\machine\machines\default" export DOCKER_MACHINE_NAME="default"
$ docker run alpine:edge /bin/sh
- install by apk
# apk update # apk add make # apk add git # apk add cabal ghc # apk add python3 # apk install zlib-devel # apk install nodejs-npm
- hint from https://github.com/mattmahn/docker-latex.git
apk add -U --repository http://dl-3.alpinelinux.org/alpine/edge/main poppler harfbuzz-icu # zziplib (found in edge/community repository) is a dependency to texlive-luatex apk add -U --repository http://dl-3.alpinelinux.org/alpine/edge/community zziplib apk add -U --repository http://dl-3.alpinelinux.org/alpine/edge/testing texlive-full ln -s /usr/bin/mktexlsr /usr/bin/mktexlsr.pl
- wip
/home/pandoc # history 0 apk update 1 apk search pandoc 2 apk search cabal 3 apk search pip 4 apk install python3 5 apk add python3 6 apk add alpine-sdk coreutils ghc gmp libffi linux-headers musl-dev wget zlib-dev 7 cabal 8 apk add graphviz \ 9 openjdk8 \ 10 python \ 11 py2-pip \ 12 sed \ 13 ttf-droid \ 14 ttf-droid-nonlatin 15 apk add bash 16 bash 17 ls 18 addgroup -g 82 -S pandoc 19 adduser -u 82 -D -S -G pandoc pandoc 20 mkdir -p /home/pandoc/workspace 21 apk add cabal -X http://dl-cdn.alpinelinux.org/alpine/edge/community 22 apk add cabal -X http://dl-3.alpinelinux.org/alpine/edge/community 23 curl -fsSL "$PLANTUML_DOWNLOAD_URL" -o /home/pandoc/bin/plantuml.jar 24 curl -fsSL https://sourceforge.net/projects/plantuml/files/plantuml.1.2017.18.jar/download -o /home/pandoc/bin/plantuml.jar 25 mkdir -p /home/pandoc/bin 26 curl -fsSL https://sourceforge.net/projects/plantuml/files/plantuml.1.2017.18.jar/download -o /home/pandoc/bin/plantuml.jar 27 apk search cabal 28 cabal 29 echo "http://nl.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories 29 echo "http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories 30 apk update 31 apk search cabal 32 apk add cabal 33 cabal update 34 su pandoc 35 su - pandoc 36 cabal --help 37 cabal install pandoc --prefix=/home/pandoc/.ghc/bin/ 38 pandoc --version 39 /home/pandoc/.cabal 40 cd /home/pandoc/ 41 ls 42 ls -a 43 mv .ghc .cabal 44 /home/pandoc/.cabal/bin/bin/pandoc 45 mv .cabal .ghc 46 /home/pandoc/.ghc/bin/bin/pandoc 47 /home/pandoc/.ghc/bin/bin/pandoc --version 48 pandoc 49 /home/pandoc/.ghc/bin/bin/pandoc 50 history # history 50 apk search latex 51 whoami 52 pandoc 53 apk add -U --repository http://dl-3.alpinelinux.org/alpine/edge/main \ 54 poppler harfbuzz-icu 55 apk add -U --repository http://dl-3.alpinelinux.org/alpine/edge/community \ 56 zziplib 57 apk add -U --repository http://dl-3.alpinelinux.org/alpine/edge/testing \ 58 texlive-full 59 ln -s /usr/bin/mktexlsr /usr/bin/mktexlsr.pl 60 mktexlsr 61 ls 62 tex 63 tex --version 64 xetex 65 apk search node 66 apk search nodejs 67 apk add nodejs-dev 68 apk add nodejs 69 tlmgr 70 tlmgr install \ 71 collection-basic \ 72 collection-latex \ 73 collection-latexrecommended \ 74 collection-fontsrecommended 75 java 76 apk search java 77 pip3 install six 78 pip3 install panftable 79 pip3 install pantable 80 cabal install pandoc 81 fg 82 cabal install happy 83 git --version 84 cd home 85 ls 86 echo $HOME 87 history
Last active
May 22, 2024 08:54
-
-
Save K4zuki/62f9da9bdba429315977b3fbe8817282 to your computer and use it in GitHub Desktop.
Alpine linux pandoc setup
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment