File tree 3 files changed +6
-10
lines changed
3 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -130,4 +130,5 @@ jobs:
130
130
tags : socketdev/cli:pr-${{ github.event.pull_request.number }}
131
131
build-args : |
132
132
CLI_VERSION=${{ env.VERSION }}
133
- PIP_INDEX_URL=https://test.pypi.org/simple
133
+ PIP_INDEX_URL=https://test.pypi.org/simple
134
+ PIP_EXTRA_INDEX_URL=https://pypi.org/simple
Original file line number Diff line number Diff line change @@ -2,15 +2,11 @@ FROM python:3-alpine
2
2
LABEL org.opencontainers.image.authors="socket.dev"
3
3
ARG CLI_VERSION
4
4
ARG PIP_INDEX_URL=https://pypi.org/simple
5
+ ARG PIP_EXTRA_INDEX_URL=https://pypi.org/simple
6
+
5
7
RUN apk update \
6
8
&& apk add --no-cache git nodejs npm yarn
7
9
8
- RUN pip install --index-url ${PIP_INDEX_URL} socketsecurity==$CLI_VERSION \
10
+ RUN pip install --index-url ${PIP_INDEX_URL} --extra-index-url ${PIP_EXTRA_INDEX_URL} socketsecurity==$CLI_VERSION \
9
11
&& socketcli -v \
10
- && socketcli -v | grep -q $CLI_VERSION
11
-
12
- # !! Uncomment to test local build - requires running `python -m build` first (and correct version number)
13
- # COPY dist/socketsecurity-1.0.34-py3-none-any.whl /tmp/
14
- # RUN pip install /tmp/socketsecurity-1.0.34-py3-none-any.whl \
15
- # && socketcli -v \
16
- # && socketcli -v | grep -q $CLI_VERSION
12
+ && socketcli -v | grep -q $CLI_VERSION
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ dependencies = [
10
10
' requests' ,
11
11
' mdutils' ,
12
12
' prettytable' ,
13
- ' argparse' ,
14
13
' GitPython' ,
15
14
' packaging' ,
16
15
]
You can’t perform that action at this time.
0 commit comments