Skip to content

Commit

Permalink
Fix opensips-mysql-dbschema package link
Browse files Browse the repository at this point in the history
Credits go to Social Boh for reporting it
  • Loading branch information
razvancrainea committed Oct 29, 2024
1 parent b31160f commit 3f358c4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ services:
build:
dockerfile_inline: |
FROM mysql:latest
RUN rpm -i https://yum.opensips.org/3.6/nightly/el/9/x86_64/opensips-mysql-dbschema-3.6.0.dev.20240923.7723f0e91-1.el9.x86_64.rpm
# get the latest/newest opensips-mysql-dbschema package
RUN curl -s https://yum.opensips.org/3.6/nightly/el/9/x86_64/ | sed -n 's|.*href="\([^"]\+opensips-mysql-dbschema-[^"]\+\)">.*|https://yum.opensips.org/\1|p' | xargs rpm -i
container_name: mysql
volumes:
- ./etc/mysql:/docker-entrypoint-initdb.d
Expand Down

0 comments on commit 3f358c4

Please sign in to comment.