From 06d0bd56ae0e31526e39288ce78fa98db4d52b94 Mon Sep 17 00:00:00 2001 From: Solal Nathan Date: Tue, 16 Feb 2021 18:34:57 +0100 Subject: [PATCH 1/4] :memo: Update the docker image doc for ansible-lint --- docker-ansible-lint/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker-ansible-lint/README.md b/docker-ansible-lint/README.md index c2fb0f7..6e1723c 100644 --- a/docker-ansible-lint/README.md +++ b/docker-ansible-lint/README.md @@ -1,9 +1,9 @@ # Ansible-lint image 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 -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/` 5. ??? 6. enjoy @@ -14,5 +14,5 @@ You can verify that the image was correclty built by running sudo docker image # 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 ``` From 4dd75d1180cfa32685d2e8b7a570d49635dd6a39 Mon Sep 17 00:00:00 2001 From: Solal Nathan Date: Tue, 16 Feb 2021 18:40:48 +0100 Subject: [PATCH 2/4] :memo: Update the docker image doc for ansible-lint --- docker-ansible-lint/Dockefile | 1 + 1 file changed, 1 insertion(+) diff --git a/docker-ansible-lint/Dockefile b/docker-ansible-lint/Dockefile index c34f38a..5d60549 100644 --- a/docker-ansible-lint/Dockefile +++ b/docker-ansible-lint/Dockefile @@ -1,4 +1,5 @@ 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 pip install "yamllint>=1.26.0,<2.0" From 83fd1b03e7e9d2f02b149aa57c098510cf913e08 Mon Sep 17 00:00:00 2001 From: Solal Nathan Date: Tue, 16 Feb 2021 18:44:18 +0100 Subject: [PATCH 3/4] :truck: correctly name Dockerfile --- docker-ansible-lint/{Dockefile => Dockerfile} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename docker-ansible-lint/{Dockefile => Dockerfile} (100%) diff --git a/docker-ansible-lint/Dockefile b/docker-ansible-lint/Dockerfile similarity index 100% rename from docker-ansible-lint/Dockefile rename to docker-ansible-lint/Dockerfile From c45d12cd6a1cb7a0dc306e64ed70aeb55735ce9a Mon Sep 17 00:00:00 2001 From: Solal Nathan Date: Tue, 16 Feb 2021 19:00:25 +0100 Subject: [PATCH 4/4] :memo: use the full command --- docker-ansible-lint/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-ansible-lint/README.md b/docker-ansible-lint/README.md index 6e1723c..adabac3 100644 --- a/docker-ansible-lint/README.md +++ b/docker-ansible-lint/README.md @@ -11,7 +11,7 @@ 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 ``` # list the images present -sudo docker image +sudo docker image ls # run your image with an interactive shell sudo docker run -it --rm aurore-ansible-lint-image /bin/sh