Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Ansible
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container registry
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tools
Docker
Ansible
Commits
84f1e643
Commit
84f1e643
authored
3 years ago
by
Dmitriy Safronov
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'origin/master'
# Conflicts: # Dockerfile
parents
3e946500
9306b3ac
No related branches found
No related tags found
3 merge requests
!25
Fix
,
!24
Fix
,
!23
Fix
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+3
-8
3 additions, 8 deletions
Dockerfile
with
3 additions
and
8 deletions
Dockerfile
+
3
−
8
View file @
84f1e643
...
@@ -2,7 +2,6 @@ FROM registry.cyberbrain.pw/docker/alpine:latest AS builder
...
@@ -2,7 +2,6 @@ FROM registry.cyberbrain.pw/docker/alpine:latest AS builder
ENV
PATH="/opt/ansible/bin:$PATH"
ENV
PATH="/opt/ansible/bin:$PATH"
RUN
apk
--no-cache
add python3
&&
\
RUN
apk
--no-cache
add python3
&&
\
apk
--no-cache
add
--virtual
build-dependencies
\
apk
--no-cache
add
--virtual
build-dependencies
\
py3-pip
\
musl-dev
\
musl-dev
\
python3-dev
\
python3-dev
\
libffi-dev
\
libffi-dev
\
...
@@ -15,15 +14,13 @@ RUN apk --no-cache add python3 && \
...
@@ -15,15 +14,13 @@ RUN apk --no-cache add python3 && \
setuptools
\
setuptools
\
wheel
\
wheel
\
&&
\
&&
\
(
test
-z
$ANSIBLE_VERSION
&&
\
pip
install
--ignore-installed
--user
--no-cache-dir
ansible
||
\
pip
install
--ignore-installed
--user
--no-cache-dir
ansible
\<
=
$ANSIBLE_VERSION
\
)
&&
\
pip3
install
--ignore-installed
--no-cache-dir
\
pip3
install
--ignore-installed
--no-cache-dir
\
ansible
\
ansible-lint
\
ansible-lint
\
mitogen
\
mitogen
\
jmespath
\
jmespath
\
pywinrm
\
pywinrm
\
patch
\
&&
\
&&
\
#apk del build-dependencies &&
\
#apk del build-dependencies &&
\
rm
-rf
/var/cache/apk/
*
rm
-rf
/var/cache/apk/
*
...
@@ -38,8 +35,6 @@ RUN apk --no-cache add \
...
@@ -38,8 +35,6 @@ RUN apk --no-cache add \
sshpass
\
sshpass
\
openssh-client
\
openssh-client
\
rsync
\
rsync
\
git
\
git
&&
\
rm
-rf
/var/cache/apk/
*
COPY
--from=builder /opt/ansible /opt/ansible
COPY
--from=builder /opt/ansible /opt/ansible
CMD
[ "ansible", "--version" ]
CMD
[ "ansible", "--version" ]
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment