summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorMiguel Luís <mkxpto@gmail.com>2017-07-17 17:36:23 +0000
committerMiguel Luís <mkxpto@gmail.com>2017-07-17 17:36:23 +0000
commitcf22fc94aaa7032bec753fd07d0b83ded067dded (patch)
tree6abbedb7a87c2ab376a6ed3f105d56a4f0f9668e /Dockerfile
parentb90638d9f1d7a4cb6c2b1d7e17ed6a9ab6f955f4 (diff)
downloadlaunchpad-polymaker-cf22fc94aaa7032bec753fd07d0b83ded067dded.tar.gz
launchpad-polymaker-cf22fc94aaa7032bec753fd07d0b83ded067dded.zip
Added support for Docker.
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile22
1 files changed, 22 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