MathHubInfo / Legacy-localmh-docker

Legacy docker wrapper for lmh
1 stars 1 forks source link

Add trang #31

Closed angerhang closed 8 years ago

angerhang commented 8 years ago

Follow up from https://github.com/KWARC/localmh_docker/pull/30:

I ran into error reading from server during the build process, so I had to add apt-get clean before apt-get update as suggested in http://serverfault.com/questions/690639/api-get-error-reading-from-server-under-docker:

I built the image using:

docker build -no-cache -t test .

and was able to get trang installed successfully

dyn1222-18:localmh_docker Hang$ docker run -t -i test /bin/bash
root@4149e0799b69:/# trang
fatal: at least two arguments are required
Trang version 20131210
usage: java com.thaiopensource.relaxng.translate.Driver [-C catalogFileOrUri] [-I rng|rnc|dtd|xml] [-O rng|rnc|dtd|xsd] [-i input-param] [-o output-param] inputFileOrUri ... outputFile

I also refactored the package list a bit following Docker' recommendation, multiline alphabetic ordering.

tkw1536 commented 8 years ago

:thumbsup: looks good