mirror of
https://github.com/bitnami/containers.git
synced 2026-02-27 15:07:25 +08:00
NodeJS 4.8.0 contains several changes. Notable changes from 4.7.3 include:
- child_process: add shell option to spawn()
- deps:
- v8: expose statistics about heap spaces
- crypto:
- add ALPN Support
- allow adding extra certs to well-known CAs
- fs: add the fs.mkdtemp() function.
- process:
- add externalMemory to process
- add process.cpuUsage()
26 lines
680 B
Docker
26 lines
680 B
Docker
FROM gcr.io/stacksmith-images/minideb-buildpack:jessie-r10
|
|
|
|
MAINTAINER Bitnami <containers@bitnami.com>
|
|
|
|
# System packages required
|
|
RUN install_packages libc6 libssl1.0.0 libncurses5 libtinfo5 zlib1g libbz2-1.0 libreadline6 libstdc++6 libgcc1 ghostscript imagemagick libmysqlclient18
|
|
|
|
# Install node
|
|
RUN bitnami-pkg unpack node-4.8.0-0 --checksum 800e972fbdf1b0a5afc845990bb981359dee4f9ad31ae4115a18ababa6c66508
|
|
|
|
COPY rootfs /
|
|
|
|
ENV PATH=/opt/bitnami/node/bin:/opt/bitnami/python/bin:$PATH \
|
|
NODE_PATH=/opt/bitnami/node/lib/node_modules
|
|
|
|
ENV BITNAMI_APP_NAME=node \
|
|
BITNAMI_IMAGE_VERSION=4.8.0-r0
|
|
|
|
WORKDIR /app
|
|
|
|
EXPOSE 3000
|
|
|
|
ENTRYPOINT ["/app-entrypoint.sh"]
|
|
|
|
CMD ["node"]
|