Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tools
Docker
Ansible
Commits
f2905283
Commit
f2905283
authored
May 18, 2021
by
Дмитрий Сафронов
👁
Browse files
new
parent
b9d11cdf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
f2905283
FROM
pipelinecomponents/ansible-lint:latest
FROM
registry.cyberbrain.pw/docker/alpine:latest
RUN
apk
--no-cache
add
\
sudo
\
python3
\
py3-pip
\
openssl
\
ca-certificates
\
sshpass
\
openssh-client
\
rsync
\
git
&&
\
apk
--no-cache
add
--virtual
build-dependencies
\
python3-dev
\
libffi-dev
\
openssl-dev
\
build-base
&&
\
pip3
install
--upgrade
\
pip
\
cffi
\
wheel
&&
\
pip3
install
\
cryptography
\
ansible
\
mitogen ansible-lint jmespath
\
pywinrm
&&
\
apk del build-dependencies
&&
\
rm
-rf
/var/cache/apk/
*
RUN
mkdir
-p
/opt/ansible
&&
\
mkdir
-p
/etc/ansible
&&
\
echo
'localhost'
>
/etc/ansible/hosts
WORKDIR
/opt/ansible
RUN
apk add
--no-cache
git git-lfs openssh-client rsync
CMD
[ "ansible", "--version" ]
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment