File tree Expand file tree Collapse file tree 9 files changed +116
-13
lines changed Expand file tree Collapse file tree 9 files changed +116
-13
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ components:
23
23
endpoints :
24
24
- name : http-go
25
25
targetPort : 8080
26
- image : registry.access.redhat.com/ubi9/go-toolset:1.18.9-14
26
+ image : registry.access.redhat.com/ubi9/go-toolset:1.18.10-4
27
27
args : ["tail", "-f", "/dev/null"]
28
28
memoryLimit : 1024Mi
29
29
mountSources : true
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ components:
26
26
- exposure : none
27
27
name : debug
28
28
targetPort : 5858
29
- image : registry.access.redhat.com/ubi9/go-toolset:1.18.9-14
29
+ image : registry.access.redhat.com/ubi9/go-toolset:1.18.10-4
30
30
args : ["tail", "-f", "/dev/null"]
31
31
env :
32
32
- name : DEBUG_PORT
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ components:
36
36
endpoints :
37
37
- name : http-go
38
38
targetPort : 8080
39
- image : registry.access.redhat.com/ubi9/go-toolset:1.18.9-14
39
+ image : registry.access.redhat.com/ubi9/go-toolset:1.18.10-4
40
40
args : ['tail', '-f', '/dev/null']
41
41
memoryLimit : 1024Mi
42
42
mountSources : true
Original file line number Diff line number Diff line change 1
- FROM registry.access.redhat.com/ubi9/go-toolset:latest
2
-
3
- WORKDIR /app
1
+ FROM registry.access.redhat.com/ubi9/go-toolset:1.18.10-4
4
2
5
3
COPY go.mod ./
6
4
RUN go mod download
@@ -11,4 +9,4 @@ RUN go build -o ./main
11
9
12
10
EXPOSE 8081
13
11
14
- CMD [ "app /main" , "-p=8081" ]
12
+ CMD [ ". /main" , "-p=8081" ]
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ components:
39
39
- exposure : none
40
40
name : debug
41
41
targetPort : 5858
42
- image : registry.access.redhat.com/ubi9/go-toolset:1.18.9-14
42
+ image : registry.access.redhat.com/ubi9/go-toolset:1.18.10-4
43
43
args : ['tail', '-f', '/dev/null']
44
44
env :
45
45
- name : DEBUG_PORT
Original file line number Diff line number Diff line change 1
- FROM registry.access.redhat.com/ubi9/go-toolset:latest
2
-
3
- WORKDIR /app
1
+ FROM registry.access.redhat.com/ubi9/go-toolset:1.18.10-4
4
2
5
3
COPY go.mod ./
6
4
RUN go mod download
@@ -11,4 +9,4 @@ RUN go build -o ./main
11
9
12
10
EXPOSE 8081
13
11
14
- CMD [ "app /main" , "-p=8081" ]
12
+ CMD [ ". /main" , "-p=8081" ]
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ components:
27
27
endpoints :
28
28
- name : http-laravel
29
29
targetPort : 8000
30
- image : quay.io/devfile/composer:2.4
30
+ image : quay.io/devfile/composer:2.5.8
31
31
args : ["tail", "-f", "/dev/null"]
32
32
memoryLimit : 1024Mi
33
33
mountSources : true
Original file line number Diff line number Diff line change
1
+ schemaVersion : 2.2.0
2
+ metadata :
3
+ name : php-laravel
4
+ displayName : Laravel
5
+ description : " Laravel is an open-source PHP framework, which is robust and easy to understand.
6
+ It follows a model-view-controller design pattern.
7
+ Laravel reuses the existing components of different frameworks which helps in creating a web application.
8
+ The web application thus designed is more structured and pragmatic."
9
+ icon : https://raw.githubusercontent.com/devfile-samples/devfile-stack-icons/main/laravel.svg
10
+ tags :
11
+ - PHP
12
+ - Composer
13
+ - Laravel
14
+ projectType : Laravel
15
+ language : PHP
16
+ provider : Red Hat
17
+ version : 2.0.0
18
+ starterProjects :
19
+ - name : php-laravel-starter
20
+ git :
21
+ checkoutFrom :
22
+ revision : main
23
+ remotes :
24
+ origin : https://github.com/devfile-samples/devfile-stack-php-laravel.git
25
+ components :
26
+ - container :
27
+ endpoints :
28
+ - name : http-laravel
29
+ targetPort : 8000
30
+ image : quay.io/devfile/composer:2.5.8
31
+ args : ["tail", "-f", "/dev/null"]
32
+ memoryLimit : 1024Mi
33
+ mountSources : true
34
+ name : runtime
35
+ commands :
36
+ - exec :
37
+ commandLine : composer install
38
+ component : runtime
39
+ group :
40
+ isDefault : false
41
+ kind : build
42
+ workingDir : ${PROJECT_SOURCE}
43
+ id : install
44
+ - exec :
45
+ commandLine : cp .env.example .env
46
+ component : runtime
47
+ group :
48
+ isDefault : false
49
+ kind : build
50
+ workingDir : ${PROJECT_SOURCE}
51
+ id : cp-env
52
+ - exec :
53
+ commandLine : php artisan config:clear
54
+ component : runtime
55
+ group :
56
+ isDefault : false
57
+ kind : build
58
+ workingDir : ${PROJECT_SOURCE}
59
+ id : clear-config
60
+ - exec :
61
+ commandLine : php artisan key:generate
62
+ component : runtime
63
+ group :
64
+ isDefault : false
65
+ kind : build
66
+ workingDir : ${PROJECT_SOURCE}
67
+ id : gen-new-app-key
68
+ - exec :
69
+ commandLine : composer dump-autoload
70
+ component : runtime
71
+ group :
72
+ isDefault : false
73
+ kind : build
74
+ workingDir : ${PROJECT_SOURCE}
75
+ id : composer-dump
76
+ - composite :
77
+ commands :
78
+ - install
79
+ - cp-env
80
+ - clear-config
81
+ - gen-new-app-key
82
+ - composer-dump
83
+ group :
84
+ isDefault : true
85
+ kind : build
86
+ label : Provision Laravel Server
87
+ parallel : false
88
+ id : init-server
89
+ - exec :
90
+ commandLine : php artisan serve --host=0.0.0.0
91
+ component : runtime
92
+ group :
93
+ isDefault : true
94
+ kind : run
95
+ workingDir : ${PROJECT_SOURCE}
96
+ id : run
Original file line number Diff line number Diff line change
1
+ name : php-laravel
2
+ description : " Laravel is an open-source PHP framework, which is robust and easy to understand.
3
+ It follows a model-view-controller design pattern.
4
+ Laravel reuses the existing components of different frameworks which helps in creating a web application.
5
+ The web application thus designed is more structured and pragmatic."
6
+ displayName : Laravel
7
+ icon : https://raw.githubusercontent.com/devfile-samples/devfile-stack-icons/main/laravel.svg
8
+ versions :
9
+ - version : 1.0.1
10
+ default : true
11
+ - version : 2.0.0
You can’t perform that action at this time.
0 commit comments