Permalink
Browse files

Change Dockerfile and cirle.yml for new TF implementation

  • Loading branch information...
nethsix committed Mar 16, 2017
1 parent 738aca9 commit d1acfa56d12fbd88af7eccf9d2a19aee803028ec
Showing with 2 additions and 2 deletions.
  1. +1 −1 circle.yml
  2. +1 −1 tools/docker/Dockerfile
@@ -4,4 +4,4 @@ machine:

test:
override:
- docker run -it nethsix/arafatk-ruby-tensorflow-ubuntu:0.0.2 /bin/bash -l -c "mkdir -p /repos/tensorflow.rb/circle-ci && cd /repos/tensorflow.rb/circle-ci && git clone $CIRCLE_REPOSITORY_URL && cd /repos/tensorflow.rb/circle-ci/$CIRCLE_PROJECT_REPONAME && (([[ $CIRCLE_BRANCH == 'master' ]] && git checkout $CIRCLE_BRANCH && git pull) || (git fetch origin $CIRCLE_BRANCH && git checkout FETCH_HEAD)) && bundle install && cd /repos/tensorflow.rb/circle-ci/$CIRCLE_PROJECT_REPONAME/ext/sciruby/tensorflow_c && ruby extconf.rb && make && make install && cd /repos/tensorflow.rb/circle-ci/$CIRCLE_PROJECT_REPONAME && bundle exec rake install && bundle exec rspec"
- docker run -it nethsix/ruby-tensorflow-ubuntu:0.0.2 /bin/bash -l -c "mkdir -p /repos/tensorflow.rb/circle-ci && cd /repos/tensorflow.rb/circle-ci && git clone $CIRCLE_REPOSITORY_URL && cd /repos/tensorflow.rb/circle-ci/$CIRCLE_PROJECT_REPONAME && (([[ $CIRCLE_BRANCH == 'master' ]] && git checkout $CIRCLE_BRANCH && git pull) || (git fetch origin $CIRCLE_BRANCH && git checkout FETCH_HEAD)) && bundle install && cd /repos/tensorflow.rb/circle-ci/$CIRCLE_PROJECT_REPONAME/ext/sciruby/tensorflow_c && ruby extconf.rb && make && make install && cd /repos/tensorflow.rb/circle-ci/$CIRCLE_PROJECT_REPONAME && bundle exec rake install && bundle exec rspec"
@@ -79,7 +79,7 @@ RUN /bin/bash -l -c "gem install bundle --no-rdoc --no-ri"
RUN /bin/bash -l -c "rvm gemset create ruby-tensorflow"

# Install ruby-tensorflow
RUN cd /repos && git clone https://github.com/Arafatk/tensorflow.rb
RUN cd /repos && git clone https://github.com/somaticio/tensorflow.rb
RUN cd /repos/tensorflow.rb && /bin/bash -l -c "rvm --ruby-version use 2.2.4@ruby-tensorflow"

RUN cd /repos/tensorflow.rb && /bin/bash -l -c "bundle install"

0 comments on commit d1acfa5

Please sign in to comment.