19 lines
550 B
Docker
19 lines
550 B
Docker
FROM node:slim
|
|
|
|
COPY docker-entrypoint.sh /
|
|
RUN chmod 755 /docker-entrypoint.sh
|
|
|
|
RUN buildDeps='g++ make python' && softDeps="git iproute2 iputils-ping" \
|
|
&& apt update && apt upgrade -y \
|
|
&& apt install -y $buildDeps $softDeps --no-install-recommends \
|
|
&& npm install -g lerna \
|
|
&& apt-get purge -y --auto-remove $buildDeps \
|
|
&& apt-get autoremove -y && apt-get autoclean -y && apt-get clean -y \
|
|
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
|
|
&& npm cache clean --force
|
|
|
|
VOLUME /workspace
|
|
|
|
ENTRYPOINT /docker-entrypoint.sh
|
|
CMD /bin/bash
|