Added build dependencies for ARM
rodzic
07082496ad
commit
eb665148ba
|
@ -22,9 +22,12 @@ RUN apk --update add --no-cache \
|
|||
sqlite
|
||||
|
||||
RUN mkdir -p /opt/docker-stats/db
|
||||
RUN cd /opt/docker-stats && \
|
||||
RUN apk --update add --no-cache --virtual .build-deps \
|
||||
make python2 gcc g++ libc-dev && \
|
||||
cd /opt/docker-stats && \
|
||||
npm update && \
|
||||
npm install express sqlite3 body-parser moment
|
||||
npm install express sqlite3 body-parser moment --build-from-source=sqlite3 && \
|
||||
apk del .build-deps
|
||||
|
||||
ADD stats.js /opt/docker-stats/
|
||||
ADD httpd.js /opt/docker-stats/
|
||||
|
|
|
@ -22,9 +22,12 @@ RUN apk --update add --no-cache \
|
|||
sqlite
|
||||
|
||||
RUN mkdir -p /opt/docker-stats/db
|
||||
RUN cd /opt/docker-stats && \
|
||||
RUN apk --update add --no-cache --virtual .build-deps \
|
||||
make python2 gcc g++ libc-dev && \
|
||||
cd /opt/docker-stats && \
|
||||
npm update && \
|
||||
npm install express sqlite3 body-parser moment
|
||||
npm install express sqlite3 body-parser moment --build-from-source=sqlite3 && \
|
||||
apk del .build-deps
|
||||
|
||||
ADD stats.js /opt/docker-stats/
|
||||
ADD httpd.js /opt/docker-stats/
|
||||
|
|
|
@ -22,9 +22,12 @@ RUN apk --update add --no-cache \
|
|||
sqlite
|
||||
|
||||
RUN mkdir -p /opt/docker-stats/db
|
||||
RUN cd /opt/docker-stats && \
|
||||
RUN apk --update add --no-cache --virtual .build-deps \
|
||||
make python2 gcc g++ libc-dev && \
|
||||
cd /opt/docker-stats && \
|
||||
npm update && \
|
||||
npm install express sqlite3 body-parser moment
|
||||
npm install express sqlite3 body-parser moment --build-from-source=sqlite3 && \
|
||||
apk del .build-deps
|
||||
|
||||
ADD stats.js /opt/docker-stats/
|
||||
ADD httpd.js /opt/docker-stats/
|
||||
|
|
Ładowanie…
Reference in New Issue