summaryrefslogtreecommitdiffstats
path: root/ansible/docker/Dockerfile
AgeCommit message (Collapse)AuthorFilesLines
2021-03-30Pin 'cryptography' pip package in ansible imageBartek Grzybowski1-1/+3
This rolls back alpine base layer to previous version and pins 'cryptography' pip package to the last known working version. Using alpine 3.13 has side efects as it upgrades python from 3.6 to 3.8 which breaks offline-installer playbooks. Change-Id: I3356e40943ffe75fe0febea31d71a51eb8a6f7bd Issue-ID: INT-1898 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-03-26Upgrade ansible's base image versionBartek Grzybowski1-1/+1
In 3.8 the 'cryptography' package no longer builds successfully Change-Id: I683e6553a9d1aa57069595dfdd56146c9cb45dc7 Issue-ID: INT-1898 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-03-18Add default logging settings for dockerPetr Ospalý1-0/+1
- Default configuration of logging for docker daemon. - New ansible module for generic handling of JSON files. - New setting in ansible.cfg: jinja2_native = True To preserve double-quotes in json values (OOM-1698). Issue-ID: OOM-1681 Change-Id: I8f8e19ebc290fd48a63146e96f418b98344e4433 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
2019-03-08Modify ansible version in docker/chrootPetr Ospalý1-1/+1
Updating to ansible version: 2.7.8 Current ansible version: 2.6.3 The current version breaks json values in playbooks. Change-Id: I9858339a08711ad921122b2e7b6ccf04d62454a3 Issue-ID: OOM-1698 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
2019-01-24Fix broken docker build due to pip-19.0Petr Ospalý1-3/+3
pip-19.0 fails to build with the option --no-cache-dir Change-Id: I6494c6c6b4dc49d4fbd2ce657ed9824c5b3847e3 Issue-ID: OOM-1607 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
2019-01-17Fix docker config handling in offline installerMichal Zegan1-0/+1
This fixes adding of dns address to /etc/docker/daemon.json to always use infra's ip address instead of possibly using it's hostname. Also similar change is done in handling of /etc/resolv.conf in infrastructure.yml. Ip address is specified by the "cluster_ip" variable placed on a host. Inventory specifies ip for everything except resource server (just for consistency). Change-Id: I2baa3f4c7d69b8dff109b5f8ae984134caf2af7d Issue-ID: OOM-1573 Signed-off-by: Michal Zegan <m.zegan@samsung.com>
2018-12-19Add ansible docker imagePetr Ospalý1-0/+34
Dockerfile and script for building the image Change-Id: If1e83095463ae209e284ba92898447a1205a2244 Issue-ID: OOM-1551 Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>