forked from bakueikozo/atomcam_tools_obsolute
-
Notifications
You must be signed in to change notification settings - Fork 25
/
Dockerfile
49 lines (42 loc) · 837 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
FROM ubuntu:16.04
ENV DEBIAN_FRONTEND noninteractive
RUN \
apt update && apt upgrade -y && \
apt install -y \
build-essential \
qemu-user-static \
git \
autoconf \
cmake \
python \
zip \
unzip \
cpio \
wget \
vim \
locales \
lzop \
bc \
nano \
libncurses5-dev \
nfs-kernel-server \
curl \
python3 \
python-lzma \
flex \
texinfo \
help2man \
gawk \
libtool-bin \
sudo \
upx \
bison
ENV PATH="$PATH:/usr/local/node/bin"
RUN mkdir -p /atomtools/build
WORKDIR "/atomtools/build"
RUN curl -o - https://buildroot.org/downloads/buildroot-2016.02.tar.gz | tar zxvf -
# Change to the buildroot directory
WORKDIR "/atomtools/build/buildroot-2016.02"
# Copy the entire source tree. Expect it to be mounted over when developing.
COPY . /src
RUN /src/buildscripts/setup_buildroot.sh