Using grml would be easier to prepare but only works from legacy (BIOS) boot and does not come with systemd-nspawn.
A future task would be to add statelessness to the USB stick and enable boot to RAM.
| import sys | |
| import time | |
| import numpy as np | |
| import numpy.random as rn | |
| def fftbench(size): | |
| mat = rn.rand(size, size) + 1j * rn.randn(size, size) | |
| start = time.time() |
| # Dockerfile | |
| FROM ubuntu | |
| RUN apt-get update | |
| RUN apt-get install -y git python3-pip | |
| RUN pip3 install -U pip | |
| RUN pip3 install --user git+git://github.com/ASPP/pelita | |
| ADD pelita_hidden_players /pelita-hidden-players |
| --- | |
| - name: Add Anaconda to Pool | |
| hosts: pool | |
| user: root | |
| tasks: | |
| - name: Check, if Anaconda is installed | |
| stat: path=/opt/anaconda3/bin/conda | |
| register: conda |
| import argparse | |
| import subprocess | |
| description = """ | |
| This sets up the build for OpenCV and helps with finding | |
| the right Python versions." | |
| Run as: |
Using grml would be easier to prepare but only works from legacy (BIOS) boot and does not come with systemd-nspawn.
A future task would be to add statelessness to the USB stick and enable boot to RAM.
| /* | |
| Requires | |
| libraryDependencies += "com.helger" % "ph-css" % "4.0.0" | |
| Use in boot.scala: | |
| (new CSSFixer).fixCSS("css" :: "styles" :: Nil, Full("/newRoot")) | |
| */ |