File tree Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 2424 - name : Run tests
2525 run : docker run -v $PWD:/workdir ghcr.io/igorshubovych/markdownlint-cli:latest --disable=MD013 "**/*.md" || true
2626
27+ docker-lint :
28+ runs-on : ubuntu-latest
29+ steps :
30+ - uses : actions/checkout@v4
31+ -
uses :
hadolint/[email protected] 32+ with :
33+ recursive : false
34+ ignore : DL3041,DL3059,DL3013
35+
2736 ansible-lint :
2837
2938 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ FROM rockylinux:8.8
33WORKDIR /app
44
55# why this is not part of prereq.sh ?
6- RUN dnf install -y python38 iproute
6+ RUN dnf install -y python38 iproute && dnf clean all
77
88# prereq
99RUN echo "SELINUX=disabled" > /etc/selinux/config
@@ -19,14 +19,15 @@ RUN dnf install -y \
1919 net-snmp \
2020 net-snmp-utils \
2121 sshpass \
22- python3-pexpect
22+ python3-pexpect \
23+ && dnf clean all
2324
2425# why above RPMs are not enough ?
25- RUN python3 -m pip install netaddr pexpect
26+ RUN python3 -m pip install --no-cache-dir netaddr pexpect
2627
2728# why this is not part of prereq.sh ?
2829# see telemetry/roles/omnia_telemetry_cp/tasks/python_package_installation.yml
29- RUN python3 -m pip install pyinstaller psutil
30+ RUN python3 -m pip install --no-cache-dir pyinstaller psutil
3031
3132ENTRYPOINT ["ansible-playbook" ]
3233CMD ["prepare_cp.yml" , "-vv" ]
You can’t perform that action at this time.
0 commit comments