dind: get image buildable for Debian
With use of Docker-CE from upstream. Change-Id: If1a6fe3f1654a2c06c3c3882dc56cdfc6945a17e
This commit is contained in:
parent
397d963f53
commit
de381efc20
@ -362,6 +362,7 @@ COPY apt_preferences.{{ base_distro }} /etc/apt/preferences
|
|||||||
{% set remote_apt_keys = [
|
{% set remote_apt_keys = [
|
||||||
'http://obs.linaro.org/ERP:/18.06/Debian_9/Release.key',
|
'http://obs.linaro.org/ERP:/18.06/Debian_9/Release.key',
|
||||||
'https://bintray.com/user/downloadSubjectPublicKey?username=bintray',
|
'https://bintray.com/user/downloadSubjectPublicKey?username=bintray',
|
||||||
|
'https://download.docker.com/linux/debian/gpg'
|
||||||
] %}
|
] %}
|
||||||
{% set base_apt_packages = base_apt_packages +
|
{% set base_apt_packages = base_apt_packages +
|
||||||
['sudo',]
|
['sudo',]
|
||||||
|
@ -15,3 +15,6 @@ deb [arch=arm64] https://dl.bintray.com/fg2it/deb-arm64/ stretch main
|
|||||||
|
|
||||||
# elasticsearch (arch:all), logstash (arch:all), kibana (arch:amd64)
|
# elasticsearch (arch:all), logstash (arch:all), kibana (arch:amd64)
|
||||||
deb [arch=amd64] https://artifacts.elastic.co/packages/5.x/apt stable main
|
deb [arch=amd64] https://artifacts.elastic.co/packages/5.x/apt stable main
|
||||||
|
|
||||||
|
# main docker repo
|
||||||
|
deb https://download.docker.com/linux/debian stretch stable
|
||||||
|
@ -15,10 +15,19 @@ RUN /bin/true
|
|||||||
{% elif base_distro in ['debian', 'ubuntu'] %}
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||||
{% set dind_packages = [
|
{% set dind_packages = [
|
||||||
'btrfs-tools',
|
'btrfs-tools',
|
||||||
'docker.io',
|
|
||||||
'openssh-server'
|
'openssh-server'
|
||||||
] %}
|
] %}
|
||||||
|
|
||||||
|
{% if base_distro in ['debian'] %}
|
||||||
|
{% set dind_packages = dind_packages + [
|
||||||
|
'docker-ce'
|
||||||
|
] %}
|
||||||
|
{% else %}
|
||||||
|
{% set dind_packages = dind_packages + [
|
||||||
|
'docker.io'
|
||||||
|
] %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if install_type == 'binary' %}
|
{% if install_type == 'binary' %}
|
||||||
{% set dind_packages = dind_packages + [
|
{% set dind_packages = dind_packages + [
|
||||||
'python-setuptools'
|
'python-setuptools'
|
||||||
|
Loading…
Reference in New Issue
Block a user