Merge pull request 'Update the documention for the docker image used for ansible-lint' (#23) from fix_docker_lint_doc into master
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: Aurore/ansible#23
This commit is contained in:
commit
3eb9536c7b
2 changed files with 5 additions and 4 deletions
|
@ -1,4 +1,5 @@
|
||||||
FROM python:3.9-alpine
|
FROM python:3.9-alpine
|
||||||
|
LABEL description="Aurore's docker image for ansible-lint"
|
||||||
|
|
||||||
RUN apk add --no-cache gcc musl-dev python3-dev libffi-dev openssl-dev cargo
|
RUN apk add --no-cache gcc musl-dev python3-dev libffi-dev openssl-dev cargo
|
||||||
RUN pip install "yamllint>=1.26.0,<2.0"
|
RUN pip install "yamllint>=1.26.0,<2.0"
|
|
@ -1,9 +1,9 @@
|
||||||
# Ansible-lint image
|
# Ansible-lint image
|
||||||
|
|
||||||
In order to build this image when a new version comes out, you need to
|
In order to build this image when a new version comes out, you need to
|
||||||
1. ssh into the drone.adm.auro.re server
|
1. ssh into the `drone.adm.auro.re` server
|
||||||
2. git pull this repo to the lastest version
|
2. git pull this repo to the lastest version
|
||||||
3. optionnally make the changes if it has not been done yet
|
3. optionally make the changes if it has not been done yet
|
||||||
4. `sudo docker build -t aurore-ansible-lint-image docker-ansible-lint/`
|
4. `sudo docker build -t aurore-ansible-lint-image docker-ansible-lint/`
|
||||||
5. ???
|
5. ???
|
||||||
6. enjoy
|
6. enjoy
|
||||||
|
@ -11,8 +11,8 @@ In order to build this image when a new version comes out, you need to
|
||||||
You can verify that the image was correclty built by running
|
You can verify that the image was correclty built by running
|
||||||
```
|
```
|
||||||
# list the images present
|
# list the images present
|
||||||
sudo docker image
|
sudo docker image ls
|
||||||
|
|
||||||
# run your image with an interactive shell
|
# run your image with an interactive shell
|
||||||
sudo docker run -it --rm aurore-ansible-lint-image
|
sudo docker run -it --rm aurore-ansible-lint-image /bin/sh
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue