ne:docker:dockerfiles
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
ne:docker:dockerfiles [2023/09/02 07:02] – admin | ne:docker:dockerfiles [2023/09/02 14:58] (aktuell) – admin | ||
---|---|---|---|
Zeile 3: | Zeile 3: | ||
<cli> | <cli> | ||
FROM alpine: | FROM alpine: | ||
- | ENV ANSIBLE_VERSION 2.9.17 | + | ENV ANSIBLE_VERSION 2.15.3 |
- | RUN apk update && apk upgrade | + | RUN apk update; \ |
- | RUN apt-get | + | |
apk add gcc python3; \ | apk add gcc python3; \ | ||
apk add python3-pip; | apk add python3-pip; | ||
- | apk add cmd:pip3 \ # pull whatever package provides the pip3 command. | + | apk add cmd:pip3 \ # pull whatever package provides the pip3 command. |
- | apk add openssh-client | + | apk add openssh-client; \ |
- | | + | |
+ | |||
+ | # add Cisco Algorithms to ssh_config | ||
+ | RUN echo ' | ||
+ | RUN echo ' | ||
+ | |||
+ | # install ansible and pyats | ||
RUN pip3 install --upgrade pip; \ | RUN pip3 install --upgrade pip; \ | ||
pip3 install " | pip3 install " | ||
pip3 install ansible | pip3 install ansible | ||
+ | RUN pip3 install pyats | ||
</ | </ | ||
ne/docker/dockerfiles.1693638123.txt.gz · Zuletzt geändert: 2023/09/02 07:02 von admin