MathHubInfo / Legacy-localmh-docker

Legacy docker wrapper for lmh
1 stars 1 forks source link

tex live version? #8

Closed kohlhase closed 9 years ago

kohlhase commented 9 years ago

How do I find out the texlive version of docker? I am missing tikzlibrarytikzmark.code.tex, wich is in recent texlive, but not on the docker I have.

tkw1536 commented 9 years ago

I believe it's texlive 2012. You can open a shell inside docker and check from there.

On Fri, Feb 13, 2015, 18:11 Michael Kohlhase notifications@github.com wrote:

How do I find out the texlive version of docker? I am missing tikzlibrarytikzmark.code.tex, wich is in recent texlive, but not on the docker I have.

— Reply to this email directly or view it on GitHub https://github.com/KWARC/localmh_docker/issues/8.

kohlhase commented 9 years ago

yes, it is 2012. how can I upgrade to 2014? It would be good, if we had 2014 for the default case.

tkw1536 commented 9 years ago

Upgrading isn't simple. To upgrade, I will probably have to make a new docker image with a vanilla 2014 installation in it.

tkw1536 commented 9 years ago

I will probably add something similar to https://github.com/leodido/dockerfiles/tree/master/texlive:2014 in the dockerfile.

kohlhase commented 9 years ago

sounds good, what do I have to to participate? Can I just update? Do I have to pull a new one?

tkw1536 commented 9 years ago

Once finished you will have to re-pull the docker image. (I will close this issue once I have finished it).

To update:

# make sure the docker daemon (boot2docker) is running
# then pull the new image from the server, this will take a while
docker pull KWARC/localmh

# remove the old container
# this keeps all your data intact. 
lmh core destroy

# Set up the new container
lmh core put $HOME/.gitconfig /root/.gitconfig
lmh core cpssh

# Re-compile all the dependencies 
lmh setup --reinstall all

# that's it. 
tkw1536 commented 9 years ago

I have done some testing and texlive 2014 installation went rather smoothly. The only problem is that the image size is now around 4.8 GB. I will try to compress it a bit and then push it to dockerhub.

tkw1536 commented 9 years ago

@kohlhase Pushed, you can upgarde now.

kohlhase commented 9 years ago

could you remind me how to do that? I do not think that this is in the documentation.

tkw1536 commented 9 years ago

See the comment above https://github.com/KWARC/localmh_docker/issues/8#issuecomment-74379257

On Monday, February 16, 2015, Michael Kohlhase notifications@github.com wrote:

could you remind me how to do that? I do not think that this is in the documentation.

— Reply to this email directly or view it on GitHub https://github.com/KWARC/localmh_docker/issues/8#issuecomment-74460919.

kohlhase commented 9 years ago

sorry, did not see. I will wait for the texmf.cnf update.

kohlhase commented 9 years ago

the instruction above does not see to work

Michael-Kohlhases-MacBook-Pro:assignments kohlhase$ docker pull KWARC/localmh
FATA[0000] Invalid namespace name (KWARC), only [a-z0-9_] are allowed, size between 4 and 30 
tkw1536 commented 9 years ago

Fixed offline.