Skip to content

Commit

Permalink
Merge pull request #30 from shaior/Containerfile
Browse files Browse the repository at this point in the history
Add Containerfile
  • Loading branch information
openshift-merge-bot[bot] authored Jan 21, 2025
2 parents edb88fd + 4402938 commit a818abc
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions Containerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
FROM registry.access.redhat.com/ubi9/ubi

# Install required packages
RUN dnf -y install \
python3 \
python3-pip \
&& dnf clean all

# Install ansible and ansible-lint
RUN pip3 install --no-cache-dir \
ansible \
ansible-lint

# Copy application files to eco-ci-cd folder
COPY . ./eco-ci-cd

WORKDIR /eco-ci-cd

# Install requirements
RUN ansible-galaxy collection install -r requirements.yml

# Set entrypoint to bash
ENTRYPOINT ["/bin/bash"]

0 comments on commit a818abc

Please sign in to comment.