Skip to content

Commit b063e64

Browse files
committed
Build multi image
1 parent d516f1b commit b063e64

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

.github/workflows/push.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ jobs:
4646
context: telegraf
4747
- name: qubership-rabbitmq-image
4848
file: rabbitmq-docker/4.0/Dockerfile
49-
context: rabbitmq-docker/4.0
49+
context: rabbitmq-docker
5050
- name: qubership-rabbitmq-image-3
5151
file: rabbitmq-docker/3.13/Dockerfile
52-
context: rabbitmq-docker/3.13
52+
context: rabbitmq-docker
5353
runs-on: ubuntu-latest
5454
steps:
5555
- name: Checkout

rabbitmq-docker/3.13/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
FROM library/rabbitmq:3.13.6-management-alpine
22

33
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/
4+
COPY scripts/get_user /bin/
5+
COPY scripts/get_password /bin/
6+
COPY scripts/change_password /bin/
77

88
ENV USER_UID=1000
99

@@ -19,7 +19,7 @@ chmod +x /bin/get_password && \
1919
chmod +x /usr/local/bin/docker-entrypoint.sh && \
2020
chmod -R a+r /opt/rabbitmq/plugins
2121

22-
RUN rm /usr/lib/python3.11/EXTERNALLY-MANAGED
22+
RUN rm /usr/lib/python3.12/EXTERNALLY-MANAGED
2323

2424
RUN set -x \
2525
&& python3 -m ensurepip \
@@ -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

3333
VOLUME /etc/rabbitmq
3434
VOLUME /var/log/rabbitmq

rabbitmq-docker/4.0/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
FROM library/rabbitmq:4.0.7-management-alpine
22

33
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/
4+
COPY scripts/get_user /bin/
5+
COPY scripts/get_password /bin/
6+
COPY scripts/change_password /bin/
77

88
ENV 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

3333
VOLUME /etc/rabbitmq
3434
VOLUME /var/log/rabbitmq

0 commit comments

Comments
 (0)