File tree Expand file tree Collapse file tree 8 files changed +52
-6
lines changed Expand file tree Collapse file tree 8 files changed +52
-6
lines changed Original file line number Diff line number Diff line change 4545 file : telegraf/Dockerfile
4646 context : telegraf
4747 - name : qubership-rabbitmq-image
48- file : Dockerfile
49- context : .
48+ file : rabbitmq-docker/4.0/Dockerfile
49+ context : rabbitmq-docker/4.0
50+ - name : qubership-rabbitmq-image-3
51+ file : rabbitmq-docker/3.13/Dockerfile
52+ context : rabbitmq-docker/3.13
5053 runs-on : ubuntu-latest
5154 steps :
5255 - name : Checkout
Original file line number Diff line number Diff line change 1+ FROM library/rabbitmq:3.13.6-management-alpine
2+
3+ COPY docker-entrypoint.sh /usr/local/bin/
4+ COPY ../scripts/get_user /bin/
5+ COPY ../scripts/get_password /bin/
6+ COPY ../scripts/change_password /bin/
7+
8+ ENV USER_UID=1000
9+
10+ RUN set -x && apk upgrade --no-cache --available
11+
12+ RUN ln -sf usr/local/bin/docker-entrypoint.sh && \
13+ mkdir -p /var/log/rabbitmq && \
14+ chmod -R 777 /var/log/rabbitmq && \
15+ chmod -R 777 /etc/rabbitmq && \
16+ chmod +x /bin/change_password && \
17+ chmod +x /bin/get_user && \
18+ chmod +x /bin/get_password && \
19+ chmod +x /usr/local/bin/docker-entrypoint.sh && \
20+ chmod -R a+r /opt/rabbitmq/plugins
21+
22+ RUN rm /usr/lib/python3.11/EXTERNALLY-MANAGED
23+
24+ RUN set -x \
25+ && python3 -m ensurepip \
26+ && rm -r /usr/lib/python*/ensurepip \
27+ && apk add --update --no-cache curl \
28+ && pip3 install --upgrade pip setuptools \
29+ && rm -rf /var/cache/apk/*
30+
31+ COPY ../logging_definitions.json /etc/rabbitmq/
32+
33+ VOLUME /etc/rabbitmq
34+ VOLUME /var/log/rabbitmq
35+ VOLUME /tmp
36+
37+ ENTRYPOINT ["docker-entrypoint.sh" ]
38+
39+ EXPOSE 4369 5671 5672 25672
40+
41+ USER ${USER_UID}
42+
43+ CMD ["rabbitmq-server" ]
Original file line number Diff line number Diff line change 11FROM library/rabbitmq:4.0.7-management-alpine
22
33COPY docker-entrypoint.sh /usr/local/bin/
4- COPY scripts/get_user /bin/
5- COPY scripts/get_password /bin/
6- COPY scripts/change_password /bin/
4+ COPY ../ scripts/get_user /bin/
5+ COPY ../ scripts/get_password /bin/
6+ COPY ../ scripts/change_password /bin/
77
88ENV USER_UID=1000
99
@@ -28,7 +28,7 @@ RUN set -x \
2828 && pip3 install --upgrade pip setuptools \
2929 && rm -rf /var/cache/apk/*
3030
31- COPY logging_definitions.json /etc/rabbitmq/
31+ COPY ../ logging_definitions.json /etc/rabbitmq/
3232
3333VOLUME /etc/rabbitmq
3434VOLUME /var/log/rabbitmq
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments