Entware-for-kernel-3x / Entware-ng-3x

Ultimate repo for embedded devices

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question about how to build a new NODEJS page

p3x-robot opened this issue · comments

Ciao!
I have a dockerfile

# docker build -t patrikx3/entware-3x .
# docker exec -it <container-id> /bin/bash
# docker run -t -i patrikx3/entware-3x bash

FROM debian:jessie
MAINTAINER patrikx3/entware-3x - Patrik Laszlo
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update
RUN apt-get install software-properties-common -y

RUN apt-get upgrade -y
RUN apt-get -y install git-core build-essential libssl-dev libncurses5-dev unzip gawk zlib1g-dev
RUN apt-get -y install subversion mercurial
RUN apt -y install asciidoc bash bc binutils bzip2 fastjar flex gcc util-linux gawk libgtk2.0-dev intltool jikespg zlib1g-dev make genisoimage libncurses5-dev libssl-dev patch perl-modules python-dev rsync ruby sdcc unzip wget gettext xsltproc zlib1g-dev libboost1.55-dev libxml-parser-perl libusb-dev bin86 bcc sharutils openjdk-7-jdk	build-essential libncurses5-dev gawk git subversion libssl-dev gettext unzip zlib1g-dev file
# nethack
RUN apt -y install build-essential libncurses5-dev gawk git subversion libssl-dev gettext unzip zlib1g-dev file python
RUN apt -y install flex nethack*
RUN git clone https://github.com/Entware-for-kernel-3x/Entware-ng-3x.git
RUN cd Entware-ng-3x
RUN alias ll='ls -all'
WORKDIR /Entware-ng-3x
ENV FORCE_UNSAFE_CONFIGURE=1
RUN make package/symlinks
RUN cp configs/armv7-3x.config .config
RUN git clone https://github.com/Entware-for-kernel-3x/entware-packages-3x/
RUN cd entware-packages-3x/lang/node
RUN make -j1 V=s
#RUN make /Entware-ng-3x/package/symlinks

Is this how to do it?
Could you just tell me how to build a pakcage?
I will do everything I need, I just no idea what to do, I got a Dockerfile to do it but I am not doing what I am doing.

Please tell me what to do, I will patch and everything.
Thanks!

WE use normal debian jessie installations to build packages. We've describes how to build packages in the wiki. Initial linux setup for entware may be slightly different for different disros. I prefer to install more packages with apt-get as described here (Russian) - http://forums.zyxmon.org/viewtopic.php?f=8&t=17

Please do еще start new issues. You can post in closed issue.