fix node 18 containerfile, fix typos
This commit is contained in:
parent
e3d66b535e
commit
1e5c7ccc5c
@ -16,6 +16,6 @@ LABEL com.github.containers.toolbox="true" \
|
|||||||
maintainer="Wyatt J. Miller <wyatt@wyattjmiller.com>" \
|
maintainer="Wyatt J. Miller <wyatt@wyattjmiller.com>" \
|
||||||
vendor="Miller Web Solutions"
|
vendor="Miller Web Solutions"
|
||||||
|
|
||||||
# Install base development packages
|
# Install node 20 and related npm
|
||||||
RUN dnf install nodejs npm -y -q
|
RUN dnf install nodejs npm -y -q
|
||||||
RUN npm install typescript -g
|
RUN npm install typescript -g
|
||||||
|
@ -16,6 +16,8 @@ LABEL com.github.containers.toolbox="true" \
|
|||||||
maintainer="Wyatt J. Miller <wyatt@wyattjmiller.com>" \
|
maintainer="Wyatt J. Miller <wyatt@wyattjmiller.com>" \
|
||||||
vendor="Miller Web Solutions"
|
vendor="Miller Web Solutions"
|
||||||
|
|
||||||
# Install base development packages
|
# Install node 18 and related npm
|
||||||
RUN dnf install nodejs18 npm -y -q
|
RUN dnf install nodejs18 nodejs18-npm -y -q
|
||||||
|
RUN ln -s /usr/bin/node-18 /usr/bin/node
|
||||||
|
RUN ln -s /usr/bin/npm-18 /usr/bin/npm
|
||||||
RUN npm install typescript -g
|
RUN npm install typescript -g
|
||||||
|
Loading…
Reference in New Issue
Block a user