Skip to content
This repository was archived by the owner on May 29, 2024. It is now read-only.

Commit 4b6061f

Browse files
committed
Fixes #1036 Update Node images
1 parent ee2587d commit 4b6061f

File tree

8 files changed

+15
-15
lines changed

8 files changed

+15
-15
lines changed

creator/src/main/kotlin/io/fabric8/launcher/creator/core/resource/images.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import java.nio.file.Paths
88
const val BUILDER_DOTNET = "registry.access.redhat.com/dotnet/dotnet-22-rhel7"
99
const val BUILDER_JAVA = "registry.access.redhat.com/redhat-openjdk-18/openjdk18-openshift"
1010
const val BUILDER_JAVAEE = "quay.io/wildfly/wildfly-centos7"
11-
const val BUILDER_NODEJS_APP = "nodeshift/centos7-s2i-nodejs"
12-
const val BUILDER_NODEJS_WEB = "nodeshift/centos7-s2i-web-app"
11+
const val BUILDER_NODEJS_APP = "registry.access.redhat.com/ubi8/nodejs-12"
12+
const val BUILDER_NODEJS_WEB = "nodeshift/ubi8-s2i-web-app"
1313

1414
const val MARKER_BOOSTER_IMPORT = "#booster-import#"
1515
const val MARKER_CREATOR_IMPORT = "#creator-import#"
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ objects:
55
creationTimestamp: null
66
labels:
77
app: {{.application}}
8-
name: centos7-s2i-nodejs
8+
name: ubi8-s2i-web-app
99
spec:
1010
lookupPolicy:
1111
local: false
1212
tags:
1313
- from:
1414
kind: DockerImage
15-
name: nodeshift/centos7-s2i-nodejs
15+
name: nodeshift/ubi8-s2i-web-app
1616
generation: null
1717
importPolicy: {}
1818
name: latest
@@ -55,7 +55,7 @@ objects:
5555
sourceStrategy:
5656
from:
5757
kind: ImageStreamTag
58-
name: centos7-s2i-nodejs:latest
58+
name: ubi8-s2i-web-app:latest
5959
incremental: true
6060
type: Source
6161
triggers:

creator/src/main/resources/META-INF/catalog/app-images/resources/nodeshift_centos7-s2i-web-app.yaml renamed to creator/src/main/resources/META-INF/catalog/app-images/resources/registry.access.redhat.com_ubi8_nodejs-12.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ objects:
55
creationTimestamp: null
66
labels:
77
app: {{.application}}
8-
name: centos7-s2i-web-app
8+
name: nodejs-12
99
spec:
1010
lookupPolicy:
1111
local: false
1212
tags:
1313
- from:
1414
kind: DockerImage
15-
name: nodeshift/centos7-s2i-web-app
15+
name: registry.access.redhat.com/ubi8/nodejs-12
1616
generation: null
1717
importPolicy: {}
1818
name: latest
@@ -55,7 +55,7 @@ objects:
5555
sourceStrategy:
5656
from:
5757
kind: ImageStreamTag
58-
name: centos7-s2i-web-app:latest
58+
name: nodejs-12:latest
5959
incremental: true
6060
type: Source
6161
triggers:

creator/src/main/resources/META-INF/catalog/language-nodejs/info.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ type: generator
22
name: Node.js Language Support
33
description: Basic support for JavaScript based projects.
44
config:
5-
image: ${builderImage:nodeshift/centos7-s2i-nodejs}
5+
image: ${builderImage:registry.access.redhat.com/ubi8/nodejs-12}
66
transformFiles:
77
- gap
88
extra.shared.runtimeInfo:
99
enumInfo: ${runtime.name}
10-
image: ${builderImage:nodeshift/centos7-s2i-nodejs}
10+
image: ${builderImage:registry.access.redhat.com/ubi8/nodejs-12}
1111
service: ${serviceName}
1212
route: ${routeName}

creator/src/main/resources/META-INF/catalog/runtime-angular/info.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ config:
1414
readinessProbe: /
1515
livenessProbe: /
1616
props:
17-
builderImage: nodeshift/centos7-s2i-web-app
17+
builderImage: nodeshift/ubi8-s2i-web-app
1818
props.env:
1919
OUTPUT_DIR: dist/${application}

creator/src/main/resources/META-INF/catalog/runtime-react/info.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ config:
1010
readinessProbe: /
1111
livenessProbe: /
1212
props:
13-
builderImage: nodeshift/centos7-s2i-web-app
13+
builderImage: nodeshift/ubi8-s2i-web-app

creator/src/main/resources/META-INF/catalog/runtime-vuejs/info.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ config:
1212
readinessProbe: /
1313
livenessProbe: /
1414
props:
15-
builderImage: nodeshift/centos7-s2i-web-app
15+
builderImage: nodeshift/ubi8-s2i-web-app
1616
props.env:
1717
OUTPUT_DIR: dist

creator/src/main/resources/META-INF/resource/images.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@
2323
isBuilder: true
2424
suggestedEnv:
2525
ARTIFACT_DIR: target
26-
- id: nodeshift/centos7-s2i-nodejs
26+
- id: registry.access.redhat.com/ubi8/nodejs-12
2727
name: Generic Node.js Code Builder
2828
metadata:
2929
language: nodejs
3030
isBuilder: true
3131
suggestedEnv:
3232
PORT: '8080'
33-
- id: nodeshift/centos7-s2i-web-app
33+
- id: nodeshift/ubi8-s2i-web-app
3434
name: Web App Node.js Code Builder
3535
metadata:
3636
language: nodejs

0 commit comments

Comments
 (0)