2017-06-14 22:45:15 +00:00
|
|
|
#!/bin/sh
|
2017-06-15 11:31:29 +00:00
|
|
|
ORIG_DIR=`pwd`
|
|
|
|
rm -r tmp
|
2017-06-15 09:26:01 +00:00
|
|
|
mkdir tmp
|
|
|
|
cp ../init_passwd.rb ./tmp/
|
|
|
|
cp ../run_server.sh ./tmp/
|
|
|
|
cp ../eshell ./tmp/
|
|
|
|
cp ../Gemfile* ./tmp/
|
2017-06-15 22:02:23 +00:00
|
|
|
cp ../site-start.el ./tmp/
|
2017-06-15 11:31:29 +00:00
|
|
|
|
|
|
|
# TeX Live
|
|
|
|
#if [ "$(uname)" == "Darwin" ]; then
|
|
|
|
# cd texlive/bin/x86_64-darwin
|
|
|
|
#elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then
|
|
|
|
# cd texlive/bin/x86_64-linux
|
|
|
|
#fi
|
|
|
|
#./tlmgr update --all
|
2017-06-15 22:02:23 +00:00
|
|
|
#cd $ORIG_DIR
|
|
|
|
#cp -r texlive ./tmp/
|
|
|
|
#rm -r tmp/texlive/bin/x86_64-darwin
|
2017-06-15 11:31:29 +00:00
|
|
|
|
2017-06-14 22:45:15 +00:00
|
|
|
docker build -t emacs-collab:latest .
|
2017-06-15 09:26:01 +00:00
|
|
|
rm -R tmp
|