Update Dockerfile repo and tests
Signed-off-by: Petr "Stone" Hracek <phracek@redhat.com>
This commit is contained in:
parent
943bed62f1
commit
15947cc35f
3 changed files with 2 additions and 11 deletions
|
|
@ -15,10 +15,7 @@ LABEL summary="Javascript runtime." \
|
|||
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
|
||||
RUN microdnf --nodocs install nodejs npm
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +0,0 @@
|
|||
[nodejs]
|
||||
name=nodejs
|
||||
baseurl=https://kojipkgs.fedoraproject.org/compose/latest-Fedora-Modular-26/compose/Server/x86_64/os/
|
||||
enabled=0
|
||||
gpgcheck=false
|
||||
modules=1
|
||||
|
|
@ -13,7 +13,7 @@ testdependecies:
|
|||
- curl
|
||||
module:
|
||||
docker:
|
||||
start: "docker run -itd -u=0 --entrypoint /usr/bin/bash -p 8080:8080"
|
||||
start: "docker run -td -u=0 --entrypoint /usr/bin/bash -p 8080:8080"
|
||||
labels:
|
||||
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."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue