25 lines
723 B
Docker
25 lines
723 B
Docker
FROM baseruntime/baseruntime:latest
|
|
|
|
ENV NAME=nodejs \
|
|
VERSION=0 \
|
|
RELEASE=1 \
|
|
ARCH=x86_64
|
|
|
|
LABEL summary="Javascript runtime." \
|
|
name="$FGC/$NAME" \
|
|
version="$VERSION" \
|
|
release="$RELEASE.$DISTTAG" \
|
|
architecture="$ARCH" \
|
|
usage="docker run nodejs node" \
|
|
description="Node.js is a platform built on V8 JavaScript Engine for easily building fast, scalable network applications." \
|
|
io.k8s.description="Node.js is a platform built on V8 JavaScript Engine for easily building fast, scalable network applications."
|
|
|
|
|
|
COPY repos/* /etc/yum.repos.d/
|
|
|
|
RUN sed -i 's|/jkaluza/|/ralph/|g' /etc/yum.repos.d/build.repo && \
|
|
microdnf --nodocs --enablerepo nodejs install nodejs npm
|
|
|
|
EXPOSE 8080
|
|
|
|
CMD /bin/sh/
|