mirror of
https://github.com/bitnami/containers.git
synced 2026-02-15 09:27:22 +08:00
8.0.0-r0 release
Update node to 8.0.0.
This commit is contained in:
24
bitnami/node/8/Dockerfile
Normal file
24
bitnami/node/8/Dockerfile
Normal file
@@ -0,0 +1,24 @@
|
||||
FROM bitnami/minideb-extras:jessie-r17-buildpack
|
||||
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
||||
|
||||
|
||||
|
||||
# Install required system packages and dependencies
|
||||
RUN install_packages ghostscript imagemagick libbz2-1.0 libc6 libgcc1 libmysqlclient18 libncurses5 libreadline6 libsqlite3-0 libssl1.0.0 libstdc++6 libtinfo5 zlib1g
|
||||
RUN bitnami-pkg install node-8.0.0-0 --checksum 075b0dc752a25912a919ad8b3345ae2d27193933f9b2f71c8348c242410059a9
|
||||
|
||||
COPY rootfs /
|
||||
|
||||
ENV BITNAMI_APP_NAME="node" \
|
||||
BITNAMI_IMAGE_VERSION="8.0.0-r0" \
|
||||
NODE_PATH="/opt/bitnami/node/lib/node_modules" \
|
||||
PATH="/opt/bitnami/node/bin:/opt/bitnami/python/bin:$PATH"
|
||||
|
||||
|
||||
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
WORKDIR /app
|
||||
ENTRYPOINT ["/app-entrypoint.sh"]
|
||||
CMD ["node"]
|
||||
13
bitnami/node/8/docker-compose.yml
Normal file
13
bitnami/node/8/docker-compose.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
version: '2'
|
||||
|
||||
services:
|
||||
node:
|
||||
tty: true # Enables debugging capabilities when attached to this container.
|
||||
image: 'bitnami/node:8'
|
||||
labels:
|
||||
kompose.service.type: nodeport
|
||||
# command: sh -c 'npm install && npm start'
|
||||
ports:
|
||||
- 3000:3000
|
||||
volumes:
|
||||
- .:/app
|
||||
11
bitnami/node/8/rootfs/app-entrypoint.sh
Executable file
11
bitnami/node/8/rootfs/app-entrypoint.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
. /opt/bitnami/base/functions
|
||||
. /opt/bitnami/base/helpers
|
||||
|
||||
print_welcome_page
|
||||
check_for_updates &
|
||||
|
||||
log "node successfully initialized"
|
||||
|
||||
exec tini -- "$@"
|
||||
@@ -26,7 +26,7 @@ node:
|
||||
|
||||
## Kubernetes
|
||||
|
||||
> **WARNING**: This is a beta configuration, currently unsupported.
|
||||
> **WARNING:** This is a beta configuration, currently unsupported.
|
||||
|
||||
Get the raw URL pointing to the kubernetes.yml manifest and use kubectl to create the resources on your Kubernetes cluster like so:
|
||||
|
||||
@@ -44,7 +44,8 @@ $ kubectl create -f https://raw.githubusercontent.com/bitnami/bitnami-docker-nod
|
||||
|
||||
# Supported tags and respective `Dockerfile` links
|
||||
|
||||
- [`7`, `7.10.0-r1`, `latest` (7/Dockerfile)](https://github.com/bitnami/bitnami-docker-node/blob/7.10.0-r1/7/Dockerfile)
|
||||
- [`8`, `8.0.0-r0`, `latest` (8/Dockerfile)](https://github.com/bitnami/bitnami-docker-node/blob/8.0.0-r0/8/Dockerfile)
|
||||
- [`7`, `7.10.0-r1` (7/Dockerfile)](https://github.com/bitnami/bitnami-docker-node/blob/7.10.0-r1/7/Dockerfile)
|
||||
- [`6`, `6.10.3-r1` (6/Dockerfile)](https://github.com/bitnami/bitnami-docker-node/blob/6.10.3-r1/6/Dockerfile)
|
||||
- [`4`, `4.8.3-r1` (4/Dockerfile)](https://github.com/bitnami/bitnami-docker-node/blob/4.8.3-r1/4/Dockerfile)
|
||||
|
||||
|
||||
@@ -2,8 +2,8 @@ machine:
|
||||
services:
|
||||
- docker
|
||||
environment:
|
||||
RELEASE_SERIES_LIST: 7,6,4
|
||||
LATEST_STABLE: 7
|
||||
RELEASE_SERIES_LIST: 8,7,6,4
|
||||
LATEST_STABLE: 8
|
||||
IMAGE_NAME: node
|
||||
CHART_NAME: node
|
||||
CHART_REPO: https://github.com/bitnami/charts
|
||||
|
||||
Reference in New Issue
Block a user