CARVIEW |
Select Language
HTTP/2 200
date: Wed, 23 Jul 2025 20:00:10 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-robots-tag: none
etag: W/"dab24ab09ad6670d02c4deda3b0b70bc"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=Ia%2Ba%2FgF05YY80QU75IUH02beanlvizmEJdSFUy8d%2BaM4DQsDXH54EokDp4Hc%2BI00zJZBTC%2F3Qk2OW1y%2FOpbs31O%2F%2BM%2F4nXLsIg%2FtZUdGS8HutetPyHK4R3DWlhQgnH9VyTIDI2F8mBRHpt59KYC7qtjozsZ2qd2DM0NDvafqG%2FneMxowXnG5duQFwm9tD5lEv6%2Fxp1KlxpIdRbkq3qLcwpMfWPnLbNf8Gec0eiVuNbgE7SBswRCDttyKo9M52EWon%2FXfH6fh7GgxMIygcsnifQ%3D%3D--AXj1xc%2FS45S18qFm--KglSZUx6w%2FkQhPfM8qFRlw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1671687030.1753300810; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 20:00:10 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 20:00:10 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: DAB8:394F4C:107E18B:13917F1:68813F4A
Docker image setup · SciRuby/daru-view Wiki · GitHub
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 19
Docker image setup
Shekhar Prasad Rajak edited this page Jun 2, 2018
·
5 revisions
If we want to test daru-view
in isolated linux system, then docker is good option for us.
Let's setup an Ubuntu OS and install daru-view
and its development dependencies:
FROM ubuntu
# in case need to download something
RUN apt-get update && apt-get install -y wget && rm -rf /var/lib/apt/lists/*
# to clone from git
RUN apt-get update && apt-get install -y git
# gem
RUN apt-get update && apt-get install -y rubygems
# nokogiri gem install error , fixed via these commands:
RUN apt-get update && apt-get install -y ruby`ruby -e 'puts RUBY_VERSION[/\d+\.\d+/]'`-dev
RUN apt-get install -y build-essential patch ruby-dev zlib1g-dev liblzma-dev
# install bundler
RUN gem install bundler
# install ruby gem daru-view and it's dependencies
RUN gem install daru-view
# to install jupter notebook to run iruby notebook
# - install python
# a) to install 2.7 and pip
# RUN apt-get update && apt-get -y install python2.7 python-pip python-dev
# b) to install 3.6 and pip
RUN apt-get update && apt-get -y install software-properties-common
RUN apt-get update && add-apt-repository ppa:jonathonf/python-3.6
RUN apt-get update && apt-get -y install python3.6 python-pip python-dev
# - check versions: python --version && pip --version
# - installing ipython notebook
RUN apt-get update && apt-get -y install ipython ipython-notebook
# Now we can move on to installing Jupyter Notebook
RUN pip install --upgrade pip && pip install jupyter
# now we can run jupyter notebook using command : `jupyter notebook`.
# note: IPython 6.0+ does not support Python 2.6, 2.7, 3.0, 3.1, or 3.2.
# When using Python 2.7, please install IPython 5.x LTS Long Term Support
# version.
# Beginning with IPython 6.0, Python 3.3 and above is required.
# for gem install iruby
# (dependencies are under daru/view/spec/dummy_iruby/Gemfile)
RUN apt-get update && apt-get -y install autoconf
# note : for iruby notebook we must have libtool and autoconf installed.
# we can check them using `libtool -V` and `autoconf -V` ,
# `automake --version`.
# install curl to use in rake task, like updating js files
RUN apt-get update && apt-get install -y curl
- create a image named my-ubuntu :
docker build -t my-ubuntu .
- run the image and go into ubuntu os installed daru-view :
docker run -it my-ubuntu /bin/bash
- You can clone the repo using
git clone https://github.com/SciRuby/daru-view
and do development things e.g.bundle install
,bundle exec rspec
,bundle exec rubocop
.
You can’t perform that action at this time.