Skip to content

Commit

Permalink
Updates for nodejs 14 (#1790)
Browse files Browse the repository at this point in the history
* Add missing word
* Changes for addition of Node.js 14

Signed-off-by: Sergio Leunissen <sergio.leunissen@oracle.com>
  • Loading branch information
totalamateurhour committed Nov 23, 2020
1 parent 5e4a40e commit cca0466
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ LABEL "org.opencontainers.image.authors"="Oracle Linux Product Team <ol-ovm-info
and Oracle Database connectivity enabled."

RUN yum -y install oracle-nodejs-release-el7 oracle-release-el7 && \
yum-config-manager --disable ol7_developer_nodejs12 && \
yum-config-manager --disable ol7_developer_nodejs14 && \
yum-config-manager --enable ol7_developer_nodejs10 && \
yum -y install nodejs node-oracledb-node10 && \
rm -rf /var/cache/yum/*
Expand Down
2 changes: 1 addition & 1 deletion OracleLinuxDevelopers/oraclelinux7/nodejs/10/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ LABEL "org.opencontainers.image.authors"="Oracle Linux Product Team <ol-ovm-info
"org.opencontainers.image.description"="Oracle Linux 7 (slim) with Node.js 10 installed."

RUN yum -y install oracle-nodejs-release-el7 && \
yum-config-manager --disable ol7_developer_nodejs12 && \
yum-config-manager --disable ol7_developer_nodejs14 && \
yum-config-manager --enable ol7_developer_nodejs10 && \
yum -y install nodejs && \
rm -rf /var/cache/yum/*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ LABEL "org.opencontainers.image.authors"="Oracle Linux Product Team <ol-ovm-info
and Oracle Database connectivity enabled."

RUN yum -y install oracle-nodejs-release-el7 oracle-release-el7 && \
yum -y install nodejs node-oracledb-node12 && \
yum-config-manager --disable ol7_developer_nodejs14 && \
yum-config-manager --enable ol7_developer_nodejs12 && \
rm -rf /var/cache/yum/*

ENV NODE_PATH=/usr/lib/node_modules
Expand Down
2 changes: 2 additions & 0 deletions OracleLinuxDevelopers/oraclelinux7/nodejs/12/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ LABEL "org.opencontainers.image.authors"="Oracle Linux Product Team <ol-ovm-info
"org.opencontainers.image.description"="Oracle Linux 7 (slim) with Node.js 12 installed."

RUN yum -y install oracle-nodejs-release-el7 && \
yum-config-manager --disable ol7_developer_nodejs14 && \
yum-config-manager --enable ol7_developer_nodejs12 && \
yum -y install nodejs && \
rm -rf /var/cache/yum/*

Expand Down
15 changes: 15 additions & 0 deletions OracleLinuxDevelopers/oraclelinux7/nodejs/14/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Copyright (c) 2020 Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
FROM oraclelinux:7-slim

LABEL "org.opencontainers.image.authors"="Oracle Linux Product Team <ol-ovm-info_ww@oracle.com>" \
"org.opencontainers.image.url"="https://github.com/oracle/docker-images" \
"org.opencontainers.image.source"="https://github.com/oracle/docker-images/tree/master/OracleLinuxDevelopers/oraclelinux7/nodejs/14" \
"org.opencontainers.image.vendor"="Oracle America, Inc" \
"org.opencontainers.image.description"="Oracle Linux 7 (slim) with Node.js 14 installed."

RUN yum -y install oracle-nodejs-release-el7 && \
yum -y install nodejs && \
rm -rf /var/cache/yum/*

CMD ["/bin/node", "-v"

0 comments on commit cca0466

Please sign in to comment.