Skip to content

Commit

Permalink
Merge branch 'v3' into PMM-13534-consistent-env-vars
Browse files Browse the repository at this point in the history
  • Loading branch information
ademidoff authored Nov 15, 2024
2 parents 9ba5a62 + 176a136 commit ed043e5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
1 change: 1 addition & 0 deletions build/ansible/pmm-docker/post-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
- /var/log/nginx
- /var/lib/pgsql
- /srv/pmm-encryption.key
- /var/cache/yum

- name: Remove users created by installers
user:
Expand Down
3 changes: 3 additions & 0 deletions build/ansible/roles/pmm-images/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,9 @@
# During build time, this will be the first start of supervisord.
- name: Start supervisord
shell: supervisord -c /etc/supervisord.conf &
become: true
become_user: pmm
become_method: su

- name: Run initialization playbook
include_role:
Expand Down
10 changes: 5 additions & 5 deletions build/docker/server/Dockerfile.el9
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ RUN install -T -p -m 644 /opt/ansible/ansible.cfg /etc/ansible/ansible.cfg && \
ansible-playbook -vvv /opt/ansible/pmm-docker/post-build.yml && \
sed -i '/^assumeyes/d' /etc/dnf/dnf.conf

LABEL org.opencontainers.image.created ${BUILD_DATE}
LABEL org.opencontainers.image.licenses AGPL-3.0
LABEL org.opencontainers.image.title Percona Monitoring and Management
LABEL org.opencontainers.image.vendor Percona LLC
LABEL org.opencontainers.image.version ${VERSION}
LABEL org.opencontainers.image.created=${BUILD_DATE}
LABEL org.opencontainers.image.licenses=AGPL-3.0
LABEL org.opencontainers.image.title="Percona Monitoring and Management"
LABEL org.opencontainers.image.vendor="Percona LLC"
LABEL org.opencontainers.image.version=${VERSION}

USER pmm

Expand Down

0 comments on commit ed043e5

Please sign in to comment.