We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent edb88fd commit 4402938Copy full SHA for 4402938
Containerfile
@@ -0,0 +1,23 @@
1
+FROM registry.access.redhat.com/ubi9/ubi
2
+
3
+# Install required packages
4
+RUN dnf -y install \
5
+ python3 \
6
+ python3-pip \
7
+ && dnf clean all
8
9
+# Install ansible and ansible-lint
10
+RUN pip3 install --no-cache-dir \
11
+ ansible \
12
+ ansible-lint
13
14
+# Copy application files to eco-ci-cd folder
15
+COPY . ./eco-ci-cd
16
17
+WORKDIR /eco-ci-cd
18
19
+# Install requirements
20
+RUN ansible-galaxy collection install -r requirements.yml
21
22
+# Set entrypoint to bash
23
+ENTRYPOINT ["/bin/bash"]
0 commit comments