-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
21 lines (21 loc) · 924 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM ubuntu:xenial
# Disable packages attempting to use dialogs during install
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get -qq update
RUN apt-get -qq install apt-utils
# Toolchain, kernel, u-boot
# http://wiki.espressobin.net/tiki-index.php?page=Build+system+requirements
RUN apt-get -qq install sed make binutils build-essential gcc g++ bash patch gzip bzip2 perl tar cpio python unzip rsync zlib1g-dev gawk ccache gettext libssl-dev xsltproc file libncurses5-dev wget git ckermit openssh-server openssh-client
# OpenWRT specific
RUN apt-get -qq install subversion
# Missing requirements.
# All required during build process.
# bc for kernel, dtc and gcc-arm-linux-gnueabi for bootloader.
RUN apt-get -qq install bc device-tree-compiler gcc-arm-linux-gnueabi
# Reset back to interactive usage
ENV DEBIAN_FRONTEND teletype
COPY script/ /script
COPY config/ /config
WORKDIR /script/
ENTRYPOINT [ "bash" ]
CMD [ "run.sh" ]