diff options
author | Miguel Luís <mkxpto@gmail.com> | 2017-07-17 17:36:23 +0000 |
---|---|---|
committer | Miguel Luís <mkxpto@gmail.com> | 2017-07-17 17:36:23 +0000 |
commit | cf22fc94aaa7032bec753fd07d0b83ded067dded (patch) | |
tree | 6abbedb7a87c2ab376a6ed3f105d56a4f0f9668e /Dockerfile | |
parent | b90638d9f1d7a4cb6c2b1d7e17ed6a9ab6f955f4 (diff) | |
download | launchpad-polymaker-cf22fc94aaa7032bec753fd07d0b83ded067dded.tar.gz launchpad-polymaker-cf22fc94aaa7032bec753fd07d0b83ded067dded.zip |
Added support for Docker.
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 22 |
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 | ||
2 | FROM phusion/baseimage:0.9.22 | ||
3 | |||
4 | # Use baseimage-docker's init system. | ||
5 | CMD ["/sbin/my_init"] | ||
6 | |||
7 | # Set Env | ||
8 | ENV DEBIAN_FRONTEND noninteractive | ||
9 | ENV path /launchpad-pro | ||
10 | |||
11 | # Set the working directory | ||
12 | WORKDIR ${path} | ||
13 | |||
14 | # Copy the current directory contents into the container at ${path} | ||
15 | #ADD . ${path} | ||
16 | |||
17 | # Distro management | ||
18 | RUN 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 | ||
22 | CMD ["/bin/bash"] \ No newline at end of file | ||