Skip to content

Commit 144c4e2

Browse files
authored
Add uv to the docker build (#127)
1 parent 6279c13 commit 144c4e2

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,13 @@ ARG PIP_INDEX_URL=https://pypi.org/simple
66
ARG PIP_EXTRA_INDEX_URL=https://pypi.org/simple
77

88
RUN apk update \
9-
&& apk add --no-cache git nodejs npm yarn \
9+
&& apk add --no-cache git nodejs npm yarn curl \
1010
&& npm install @coana-tech/cli -g
1111

12+
# Install uv
13+
RUN curl -LsSf https://astral.sh/uv/install.sh | sh
14+
ENV PATH="/root/.cargo/bin:${PATH}"
15+
1216
# Install CLI with retries for TestPyPI propagation (10 attempts, 30s each = 5 minutes total)
1317
RUN for i in $(seq 1 10); do \
1418
echo "Attempt $i/10: Installing socketsecurity==$CLI_VERSION"; \

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build-backend = "hatchling.build"
66

77
[project]
88
name = "socketsecurity"
9-
version = "2.2.22"
9+
version = "2.2.23"
1010
requires-python = ">= 3.10"
1111
license = {"file" = "LICENSE"}
1212
dependencies = [

socketsecurity/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
__author__ = 'socket.dev'
2-
__version__ = '2.2.22'
2+
__version__ = '2.2.23'
33
USER_AGENT = f'SocketPythonCLI/{__version__}'

0 commit comments

Comments
 (0)