2021-02-16 16:39:27 +01:00
|
|
|
# Ansible-lint image
|
|
|
|
|
|
|
|
In order to build this image when a new version comes out, you need to
|
2021-02-16 18:34:57 +01:00
|
|
|
1. ssh into the `drone.adm.auro.re` server
|
2021-02-16 16:39:27 +01:00
|
|
|
2. git pull this repo to the lastest version
|
2021-02-16 18:34:57 +01:00
|
|
|
3. optionally make the changes if it has not been done yet
|
2021-02-16 16:39:27 +01:00
|
|
|
4. `sudo docker build -t aurore-ansible-lint-image docker-ansible-lint/`
|
|
|
|
5. ???
|
|
|
|
6. enjoy
|
|
|
|
|
|
|
|
You can verify that the image was correclty built by running
|
|
|
|
```
|
|
|
|
# list the images present
|
2021-02-16 19:00:25 +01:00
|
|
|
sudo docker image ls
|
2021-02-16 16:39:27 +01:00
|
|
|
|
|
|
|
# run your image with an interactive shell
|
2021-02-16 18:34:57 +01:00
|
|
|
sudo docker run -it --rm aurore-ansible-lint-image /bin/sh
|
2021-02-16 16:39:27 +01:00
|
|
|
```
|