Closed angerhang closed 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:
error reading from server
apt-get clean
apt-get update
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.
:thumbsup: looks good
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 addapt-get clean
beforeapt-get update
as suggested in http://serverfault.com/questions/690639/api-get-error-reading-from-server-under-docker:I built the image using:
and was able to get trang installed successfully
I also refactored the package list a bit following Docker' recommendation, multiline alphabetic ordering.