File tree Expand file tree Collapse file tree 2 files changed +52
-1
lines changed Expand file tree Collapse file tree 2 files changed +52
-1
lines changed Original file line number Diff line number Diff line change 31
31
DOCKERFILE_PATH : Dockerfile
32
32
MAJOR_VERSION : 12.22
33
33
pwd : postgresql/12
34
+ scan_rabbitmq :
35
+ executor : ccc
36
+ steps :
37
+ - set_up_container
38
+ - run :
39
+ name : Scan server-rabbitmq image
40
+ command : scan
41
+ environment :
42
+ NAME : server-rabbitmq
43
+ DOCKERFILE_PATH : Dockerfile
44
+ MAJOR_VERSION : 3.12
45
+ pwd : rabbitmq/3
34
46
publish_postgresql :
35
47
executor : ccc
36
48
steps :
@@ -44,17 +56,44 @@ jobs:
44
56
DOCKER_REGISTRY : dockerhub
45
57
MAJOR_VERSION : 12.22
46
58
pwd : postgresql/12
59
+ publish_rabbitmq :
60
+ executor : ccc
61
+ steps :
62
+ - set_up_container
63
+ - run :
64
+ name : Build and publish server-rabbitmq image
65
+ command : publish
66
+ environment :
67
+ NAME : server-rabbitmq
68
+ DOCKERFILE_PATH : Dockerfile
69
+ DOCKER_REGISTRY : dockerhub
70
+ MAJOR_VERSION : 3.12
71
+ pwd : rabbitmq/3
47
72
48
73
workflows :
49
74
my-workflow :
50
75
jobs :
76
+ - scan_rabbitmq :
77
+ context : " org-global"
78
+ filters :
79
+ branches :
80
+ ignore :
81
+ - main
82
+ - /^server-\d\..+/
51
83
- scan_postgresql :
52
84
context : " org-global"
53
85
filters :
54
86
branches :
55
87
ignore :
56
88
- main
57
89
- /^server-\d\..+/
90
+ - publish_rabbitmq :
91
+ context : " org-global"
92
+ filters :
93
+ branches :
94
+ only :
95
+ - main
96
+ - /^server-\d\..+/
58
97
- publish_postgresql :
59
98
context : " org-global"
60
99
filters :
@@ -67,7 +106,7 @@ workflows:
67
106
context : " org-global"
68
107
requires :
69
108
- publish_postgresql
70
- promotion_component_list : " circleci/server-postgres"
109
+ promotion_component_list : " circleci/server-postgres circleci/server-rabbitmq "
71
110
filters :
72
111
branches :
73
112
only :
Original file line number Diff line number Diff line change
1
+ FROM bitnami/rabbitmq:latest AS build
2
+
3
+ FROM bitnami/rabbitmq:3.12
4
+
5
+ COPY --from=build /opt/bitnami/erlang /opt/bitnami/erlang
6
+
7
+ USER root
8
+
9
+ RUN apt-get update && apt-get upgrade -y && \
10
+ apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives
11
+
12
+ USER 1001
You can’t perform that action at this time.
0 commit comments