Skip to content

Commit 2f3f679

Browse files
committed
Move setup.py inside the package
Signed-off-by: chiragkyal <ckyal@redhat.com>
1 parent ba0b046 commit 2f3f679

File tree

4 files changed

+1
-2
lines changed

4 files changed

+1
-2
lines changed

images/ansible-operator/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ RUN rustc --version
1313
COPY images/ansible-operator/Pipfile* ./
1414
# Copy our local ansible-runner-http replacement module
1515
COPY images/ansible-operator/ansible_runner_http ./ansible_runner_http
16-
COPY images/ansible-operator/setup.py ./setup.py
1716
# Instruct pip(env) not to keep a cache of installed packages,
1817
# to install into the global site-packages and
1918
# to clear the pipenv cache as well
@@ -30,7 +29,7 @@ RUN set -e && dnf clean all && rm -rf /var/cache/dnf/* \
3029
&& pip3 install --upgrade pip~=23.3.2 \
3130
&& pip3 install pipenv==2023.11.15 \
3231
&& pipenv install --deploy \
33-
&& pip3 install . \
32+
&& pip3 install ansible_runner_http/ \
3433
&& pipenv check \
3534
&& dnf remove -y gcc libffi-devel openssl-devel python3.12-devel \
3635
&& dnf clean all \

0 commit comments

Comments
 (0)