Skip to content

Commit

Permalink
Docker is always using py311+, hardcode for now
Browse files Browse the repository at this point in the history
  • Loading branch information
abhinavsingh committed May 15, 2024
1 parent e668dd6 commit 6cc3eac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ ARG PROXYPY_PKG_PATH

COPY README.md /
COPY $PROXYPY_PKG_PATH /
COPY requirements-tunnel.txt /

RUN pip install --upgrade pip && \
pip install \
Expand All @@ -26,8 +25,8 @@ RUN pip install --upgrade pip && \
proxy.py && \
rm *.whl && \
pip install \
-r requirements-tunnel.txt && \
rm requirements-tunnel.txt
paramiko==3.4.0 \
cryptography==39.0.1

# Use `--build-arg SKIP_OPENSSL=1` to disable openssl installation
RUN if [[ -z "$SKIP_OPENSSL" ]]; then apk update && apk add openssl; fi
Expand Down
1 change: 1 addition & 0 deletions requirements-tunnel.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ paramiko==3.4.0; python_version >= '3.11'
types-paramiko==2.11.3; python_version < '3.11'
types-paramiko==3.4.0.20240311; python_version >= '3.11'
cryptography==36.0.2; python_version <= '3.6'
cryptography==39.0.1; python_version > '3.6'

0 comments on commit 6cc3eac

Please sign in to comment.