Skip to content

Commit

Permalink
fix: combined both req.txt and req-dev.txt
Browse files Browse the repository at this point in the history
Signed-off-by: Rishi Mondal <[email protected]>
  • Loading branch information
MAVRICK-1 committed Jul 10, 2024
1 parent d1fe03b commit 0c49e69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM python:3.11
ARG ANSIBLE_VERSION=stable-2.16
RUN pip install --no-cache-dir --disable-pip-version-check https://github.com/ansible/ansible/archive/${ANSIBLE_VERSION}.tar.gz
COPY ./requirements.txt ./requirements-dev.txt /tmp/
RUN pip install --no-cache-dir --disable-pip-version-check --requirement /tmp/requirements.txt && pip install --no-cache-dir --disable-pip-version-check --requirement /tmp/requirements-dev.txt
RUN pip install --no-cache-dir --disable-pip-version-check --requirement /tmp/requirements*.txt

Check warning

Code scanning / Scorecard

Pinned-Dependencies Medium

score is 0: pipCommand not pinned by hash
Click Remediation section below to solve this issue
COPY ./requirements.yml /tmp/requirements.yml
RUN ansible-galaxy collection install --ignore-certs --requirements-file /tmp/requirements.yml
COPY . /opt/
Expand Down

0 comments on commit 0c49e69

Please sign in to comment.