mirror of
https://github.com/bitnami/containers.git
synced 2026-03-06 15:09:19 +08:00
9.11.1-ol-7-r0 release
Update node to 9.11.1
This commit is contained in:
17
bitnami/node/9/ol-7/Dockerfile
Normal file
17
bitnami/node/9/ol-7/Dockerfile
Normal file
@@ -0,0 +1,17 @@
|
||||
FROM bitnami/oraclelinux-extras:7-r5
|
||||
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
||||
|
||||
# Install required system packages and dependencies
|
||||
RUN install_packages build-essential bzip2-libs ca-certificates curl git glibc keyutils-libs krb5-libs libcom_err libgcc libselinux libstdc++ ncurses-libs nss-softokn-freebl openssl-libs pcre pkg-config readline sqlite unzip wget zlib
|
||||
RUN bitnami-pkg install node-9.11.1-0 --checksum 493e6f86f708679937991fe6dc15ceff18f602ed14d39dc12d109e88a826dcb6
|
||||
|
||||
COPY rootfs /
|
||||
ENV BITNAMI_APP_NAME="node" \
|
||||
BITNAMI_IMAGE_VERSION="9.11.1-ol-7-r0" \
|
||||
PATH="/opt/bitnami/node/bin:/opt/bitnami/python/bin:$PATH"
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
WORKDIR /app
|
||||
ENTRYPOINT ["/app-entrypoint.sh"]
|
||||
CMD ["node"]
|
||||
11
bitnami/node/9/ol-7/docker-compose.yml
Normal file
11
bitnami/node/9/ol-7/docker-compose.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
version: '2'
|
||||
|
||||
services:
|
||||
node:
|
||||
tty: true # Enables debugging capabilities when attached to this container.
|
||||
image: 'bitnami/node:9-ol-7'
|
||||
# command: sh -c 'npm install && npm start'
|
||||
ports:
|
||||
- 3000:3000
|
||||
volumes:
|
||||
- .:/app
|
||||
10
bitnami/node/9/ol-7/rootfs/app-entrypoint.sh
Executable file
10
bitnami/node/9/ol-7/rootfs/app-entrypoint.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
. /opt/bitnami/base/functions
|
||||
. /opt/bitnami/base/helpers
|
||||
|
||||
print_welcome_page
|
||||
|
||||
|
||||
|
||||
exec tini -- "$@"
|
||||
Reference in New Issue
Block a user