Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- echo '***************************************************
- * Installing Chromium armhf with web streaming support *
- ***************************************************'
- echo "Installing Docker..."
- # Install docker, and give rights to the default user
- apt-get -y install docker.io
- sudo usermod -aG docker $DEFAULTUSER
- cd packages/streaming
- echo "Creating container..."
- # Create armhf container with Chromium
- docker build -t teacupx/chromium-armhf .
- # Create volume to store settings
- docker volume create chromium_home
- # Install wrappers for launching Chromium
- mkdir -p /usr/local/bin
- mkdir -p /usr/local/share/applications
- install -m 755 armhf-run /usr/local/bin
- cp chromium-32*desktop /usr/local/share/applications/
- cd ../..
- fi
- # Install OpenCL examples
- if [ $CLSAMPLES -eq 1 ]
- then
- echo '***************************************************
- * Installing OpenCL examples *
- ***************************************************'
- sudo apt-get -y install libcurl4
- mkdir -p /home/$DEFAULTUSER/clsamples
- tar xf packages/clsamples/clsamples.tar.xz -C /home/$DEFAULTUSER/clsamples
- chown -R $DEFAULTUSER:$DEFAULTUSER /home/$DEFAULTUSER/clsamples
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement