This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM resin/rpi-raspbian:latest | |
| MAINTAINER Brandon Soto (brandon.soto09@gmail.com) | |
| RUN \ | |
| apt-get -y -qq update && \ | |
| apt-get -y -qq install cmake build-essential git && \ | |
| rm -rf /var/lib/apt/lists/* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| required_plugins = %w(vagrant-share vagrant-registration) | |
| plugins_to_install = required_plugins.select { |plugin| not Vagrant.has_plugin? plugin } | |
| if not plugins_to_install.empty? | |
| puts "Installing plugins: #{plugins_to_install.join(' ')}" | |
| if system "vagrant plugin install #{plugins_to_install.join(' ')}" | |
| exec "vagrant #{ARGV.join(' ')}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Delete all containers | |
| docker rm -f $(docker ps -a -q) | |
| # Delete all images | |
| docker rmi -f $(docker images -q) |
NewerOlder