Move apt_prefs pins to respective images
Change-Id: I9eb51e079fee1322bcaaf9d481cd7890aeb77696
This commit is contained in:
parent
340350a387
commit
6e1ddf5a7b
@ -1,11 +1,3 @@
|
||||
Package: rabbitmq-server
|
||||
Pin: version 3.13.*
|
||||
Pin-Priority: 1000
|
||||
|
||||
Package: erlang
|
||||
Pin: version 26.2.*
|
||||
Pin-Priority: 1000
|
||||
|
||||
# NOTE(hrw): we do not want backports unless requested
|
||||
Package: *
|
||||
Pin: release n=bookworm-backports
|
||||
|
@ -1,11 +1,3 @@
|
||||
Package: rabbitmq-server
|
||||
Pin: version 3.13.*
|
||||
Pin-Priority: 1000
|
||||
|
||||
Package: erlang
|
||||
Pin: version 26.2.*
|
||||
Pin-Priority: 1000
|
||||
|
||||
Package: *
|
||||
Pin: origin dlm.mariadb.com
|
||||
Pin-Priority: 1000
|
||||
|
@ -11,6 +11,12 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
|
||||
|
||||
{{ macros.enable_extra_repos(['crb', 'erlang', 'rabbitmq']) }}
|
||||
|
||||
{% block rabbitmq_apt_preferences %}
|
||||
{% if base_package_type == 'deb' %}
|
||||
COPY apt_preferences_rabbitmq.{{ base_distro }} /etc/apt/preferences.d/rabbitmq
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block rabbitmq_install %}
|
||||
{% if base_package_type == 'rpm' %}
|
||||
|
||||
|
7
docker/rabbitmq/apt_preferences_rabbitmq.debian
Normal file
7
docker/rabbitmq/apt_preferences_rabbitmq.debian
Normal file
@ -0,0 +1,7 @@
|
||||
Package: rabbitmq-server
|
||||
Pin: version 3.13.*
|
||||
Pin-Priority: 1000
|
||||
|
||||
Package: erlang
|
||||
Pin: version 26.2.*
|
||||
Pin-Priority: 1000
|
7
docker/rabbitmq/apt_preferences_rabbitmq.ubuntu
Normal file
7
docker/rabbitmq/apt_preferences_rabbitmq.ubuntu
Normal file
@ -0,0 +1,7 @@
|
||||
Package: rabbitmq-server
|
||||
Pin: version 3.13.*
|
||||
Pin-Priority: 1000
|
||||
|
||||
Package: erlang
|
||||
Pin: version 26.2.*
|
||||
Pin-Priority: 1000
|
Loading…
Reference in New Issue
Block a user