OK fine use slim and install things there

Needs a build pipeline
This commit is contained in:
Jake Howard 2021-07-11 17:56:31 +01:00
parent e183315f02
commit b0cc416d69
Signed by: jake
GPG Key ID: 57AFB45680EDD477

View File

@ -7,14 +7,14 @@ terraform:
- ./scripts/terraform/lint.sh - ./scripts/terraform/lint.sh
ansible: ansible:
image: python:3.9-alpine image: python:3.9-slim
variables: variables:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip" PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
cache: cache:
paths: paths:
- .cache/pip - .cache/pip
before_script: before_script:
- apk add --no-cache bash - apt-get update && apt-get install -y bash git
- ./scripts/ansible/setup.sh - ./scripts/ansible/setup.sh
script: script:
- ./scripts/ansible/lint.sh - ./scripts/ansible/lint.sh