Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ORNL Quantum Computing Institute
xacc
Commits
b5fa7494
Commit
b5fa7494
authored
Feb 13, 2019
by
Mccaskey, Alex
Browse files
updates to docker jupyter file
Signed-off-by:
Alex McCaskey
<
mccaskeyaj@ornl.gov
>
parent
bb2e322a
Pipeline
#34870
passed with stages
in 10 minutes and 14 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
docker/jupyter-lab/Dockerfile
View file @
b5fa7494
...
...
@@ -5,8 +5,8 @@ run rm /bin/sh && ln -s /bin/bash /bin/sh && apt-get -y update && apt-get -y ins
run
python3
-m
pip
install
--upgrade
pip
&&
python3
-m
pip
install
--user
jupyterlab pyquil mpmath deepdiff prompt-toolkit
==
1.0.15 dwave-qbsolv dwave-ocean-sdk
\
numpy scipy openfermion
--no-cache-dir
&&
ipython3 kernel
install
\
&&
python3
-m
pip uninstall
-y
h5py
&&
python3
-m
pip
install
h5py
==
2.8.0rc1
\
&&
apt-get
install
-y
apt-transport-https ca-certificates curl software-properties-common
\
&&
python3
-m
pip uninstall
-y
h5py
&&
python3
-m
pip
install
h5py
==
2.8.0rc1
run
apt-get update
&&
apt-get
install
-y
apt-transport-https ca-certificates curl software-properties-common
\
&&
curl
-fsSL
https://download.docker.com/linux/ubuntu/gpg | apt-key add -
\
&&
add-apt-repository
"deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic test"
\
&&
apt-get update
-y
&&
apt-get
install
-y
docker-ce
\
...
...
@@ -32,5 +32,4 @@ run git clone --recursive https://github.com/eclipse/xacc && cd xacc && mkdir bu
&&
rm
-rf
xacc/build xacc-rigetti/build tnqvm/build xacc-ibm/build xacc-projectq/build xacc-vqe/build xacc-vqe-bayesopt/build
\
xacc-vqe-fcidump/build
run
echo
"alias python=python3"
>>
~/.bashrc
\
&&
echo
"function xacc-logs() { docker logs -f
\$
(docker ps -aqf name=qchem) ; }"
>>
~/.bashrc
run
python3
-m
pip
install
ipopo
&&
echo
"alias python=python3"
>>
~/.bashrc
docker/jupyter-lab/docker-compose.yml
View file @
b5fa7494
...
...
@@ -3,7 +3,7 @@ version: '2'
services
:
xacc-jupyter-lab
:
image
:
xacc/jupyter
-lab
image
:
xacc/jupyter
command
:
"
bash
-c
'PATH=$PATH:/root/.local/bin
SHELL=/bin/bash
jupyter
lab
--no-browser
--ip=0.0.0.0
--port=9000
--allow-root
--notebook-dir=/projects
--NotebookApp.token=
\"\"
'"
volumes
:
-
../:/projects
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment