Skip to content

Commit

Permalink
Update the tangodb image (do not use the sardemo one)
Browse files Browse the repository at this point in the history
  • Loading branch information
cpascual committed Jan 20, 2017
1 parent 5d99e47 commit af7342e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ RUN apt-get install -y tango-db
#install tango-test DS
RUN apt-get install -y tango-test

# install sardana dependencies
# install taurus dependencies
RUN apt-get install -y python ipython python-h5py python-lxml python-numpy\
python-nxs python-ply python-tango python-qt4\
python-guiqwt python-spyder python-qwt5-qt4
Expand All @@ -44,9 +44,8 @@ ENV DISPLAY=:1.0
# configure supervisord
COPY supervisord.conf /etc/supervisor/conf.d/

# TODO: use just basic database, not the one with sardemo
# copy & untar mysql tango database (with sardemo) and change owner to mysql user
ADD tangodbsardemo.tar /var/lib/mysql/
# copy & untar mysql tango database and change owner to mysql user
ADD tangodb-tiny.tar /var/lib/mysql/
RUN chown -R mysql /var/lib/mysql/tango

# define tango host env var
Expand Down
2 changes: 1 addition & 1 deletion supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
nodaemon=true

[program:mysqld]
command=/usr/sbin/mysqld
command=sevice mysql start
priority=1

[program:tango-db]
Expand Down
Binary file renamed tangodbsardemo.tar → tangodb-tiny.tar
Binary file not shown.

0 comments on commit af7342e

Please sign in to comment.