File tree Expand file tree Collapse file tree 3 files changed +6
-10
lines changed Expand file tree Collapse file tree 3 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -130,4 +130,5 @@ jobs:
130130 tags : socketdev/cli:pr-${{ github.event.pull_request.number }}
131131 build-args : |
132132 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
22LABEL org.opencontainers.image.authors="socket.dev"
33ARG CLI_VERSION
44ARG PIP_INDEX_URL=https://pypi.org/simple
5+ ARG PIP_EXTRA_INDEX_URL=https://pypi.org/simple
6+
57RUN apk update \
68 && apk add --no-cache git nodejs npm yarn
79
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 \
911 && 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 = [
1010 ' requests' ,
1111 ' mdutils' ,
1212 ' prettytable' ,
13- ' argparse' ,
1413 ' GitPython' ,
1514 ' packaging' ,
1615]
You can’t perform that action at this time.
0 commit comments