1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-24 05:16:44 +02:00
dockerfiles/openwrt/Dockerfile

35 lines
920 B
Docker
Raw Normal View History

2016-07-14 19:38:36 +08:00
#
# Dockerfile for openwrt
#
FROM debian:jessie
MAINTAINER kev <noreply@easypi.info>
RUN set -xe \
&& apt-get update \
&& apt-get install -y build-essential \
curl \
2016-07-20 12:58:50 +08:00
file \
2016-07-14 19:38:36 +08:00
gawk \
gettext \
git \
libncurses5-dev \
libssl-dev \
mercurial \
2016-07-20 12:58:50 +08:00
python \
2016-07-14 19:38:36 +08:00
subversion \
sudo \
tree \
unzip \
wget \
2016-08-02 10:23:13 +08:00
vim-tiny \
2016-07-14 19:38:36 +08:00
xsltproc \
zlib1g-dev \
&& useradd -m openwrt \
&& echo 'openwrt ALL=NOPASSWD: ALL' > /etc/sudoers.d/openwrt
USER openwrt
WORKDIR /home/openwrt
CMD ["bash"]