-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathDockerfile
29 lines (22 loc) · 913 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
FROM debian:buster
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
LABEL "maintainer"="L3D <[email protected]>"
LABEL "repository"="https://github.com/roles-ansible/check-ansible-debian-buster-action.git"
LABEL "homepage"="https://github.com/roles-ansible/check-ansible-debian-buster-action"
LABEL "com.github.actions.name"="check-ansible-debian-buster"
LABEL "com.github.actions.description"="Check ansible role or playbook with Debian buster"
LABEL "com.github.actions.icon"="aperture"
LABEL "com.github.actions.color"="green"
RUN apt-get update -y && apt-get install -y \
software-properties-common \
build-essential \
libffi-dev \
libssl-dev \
python3-dev \
python3-pip \
git \
systemd
RUN pip3 install setuptools && pip3 install ansible-core
RUN ansible --version
ADD ansible-docker.sh /ansible-docker.sh
ENTRYPOINT ["/ansible-docker.sh"]