Skip to content

Commit 6cc3eac

Browse files
committed
Docker is always using py311+, hardcode for now
1 parent e668dd6 commit 6cc3eac

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ ARG PROXYPY_PKG_PATH
1717

1818
COPY README.md /
1919
COPY $PROXYPY_PKG_PATH /
20-
COPY requirements-tunnel.txt /
2120

2221
RUN pip install --upgrade pip && \
2322
pip install \
@@ -26,8 +25,8 @@ RUN pip install --upgrade pip && \
2625
proxy.py && \
2726
rm *.whl && \
2827
pip install \
29-
-r requirements-tunnel.txt && \
30-
rm requirements-tunnel.txt
28+
paramiko==3.4.0 \
29+
cryptography==39.0.1
3130

3231
# Use `--build-arg SKIP_OPENSSL=1` to disable openssl installation
3332
RUN if [[ -z "$SKIP_OPENSSL" ]]; then apk update && apk add openssl; fi

requirements-tunnel.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ paramiko==3.4.0; python_version >= '3.11'
33
types-paramiko==2.11.3; python_version < '3.11'
44
types-paramiko==3.4.0.20240311; python_version >= '3.11'
55
cryptography==36.0.2; python_version <= '3.6'
6+
cryptography==39.0.1; python_version > '3.6'

0 commit comments

Comments
 (0)