summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Dockerfile22
-rw-r--r--README.md10
2 files changed, 32 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..166ecc4
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,22 @@
1# phusion
2FROM phusion/baseimage:0.9.22
3
4# Use baseimage-docker's init system.
5CMD ["/sbin/my_init"]
6
7# Set Env
8ENV DEBIAN_FRONTEND noninteractive
9ENV path /launchpad-pro
10
11# Set the working directory
12WORKDIR ${path}
13
14# Copy the current directory contents into the container at ${path}
15#ADD . ${path}
16
17# Distro management
18RUN apt-get update && apt-get install -y build-essential gcc-arm-none-eabi && \
19 apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
20
21# Run shell
22CMD ["/bin/bash"] \ No newline at end of file
diff --git a/README.md b/README.md
index 512d927..98b25cf 100644
--- a/README.md
+++ b/README.md
@@ -22,6 +22,16 @@ I'm sure you'll have feedback for us, so please do get in touch! I'm [blogging
22 22
23# Setup the Development Environment 23# Setup the Development Environment
24 24
25## Using Docker
26
27If your system is running docker you can easily setup the environment with:
28
29```
30docker build -t novation-launchpad-pro-dev .
31docker run -it -v $(pwd):/launchpad-pro novation-launchpad-pro-dev
32make
33```
34
25## Using Vagrant 35## Using Vagrant
26 36
27To use [Vagrant](https://www.vagrantup.com/) to manage the build environment you need to: 37To use [Vagrant](https://www.vagrantup.com/) to manage the build environment you need to: