Skip to content

Commit 1c272de

Browse files
dovgopolycdecker
authored andcommitted
docker: gl-sdk build, regenerate uv.lock, deps
1 parent 8b74c38 commit 1c272de

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docker/gl-testserver/Dockerfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ ENV PATH=/opt/build-tools:$PATH
9090
#---------------------------------------------------------------------
9191
WORKDIR ${REPO_PATH}
9292
COPY --chown=${DOCKER_USER}:users ../../Cargo.toml ${REPO_PATH}/
93-
COPY --chown=${DOCKER_USER}:users ../../pyproject.toml ../../uv.lock ${REPO_PATH}/
93+
COPY --chown=${DOCKER_USER}:users ../../pyproject.toml ${REPO_PATH}/
9494
COPY --chown=${DOCKER_USER}:users ../../libs ${REPO_PATH}/libs
9595
COPY --chown=${DOCKER_USER}:users ../../examples ${REPO_PATH}/examples
9696

@@ -104,6 +104,10 @@ RUN cargo build --release \
104104
--manifest-path libs/gl-signerproxy/Cargo.toml --bin gl-signerproxy && \
105105
strip ${CARGO_TARGET_DIR}/release/gl-plugin ${CARGO_TARGET_DIR}/release/gl-signerproxy
106106

107+
# Build gl-sdk and copy the shared library for Python bindings
108+
RUN cargo build -p gl-sdk && \
109+
cp ${CARGO_TARGET_DIR}/debug/libglsdk.so libs/gl-sdk/glsdk/
110+
107111
#---------------------------------------------------------------------
108112
# Lock and sync Python dependencies using uv
109113
#---------------------------------------------------------------------
@@ -138,7 +142,7 @@ FROM ubuntu:24.04 AS final
138142
RUN apt-get update && \
139143
DEBIAN_FRONTEND=noninteractive \
140144
apt-get install -y --no-install-recommends \
141-
libpq5 curl openssl ca-certificates build-essential \
145+
libpq5 curl openssl ca-certificates build-essential git gnupg libsodium23 \
142146
&& apt-get clean && rm -rf /var/lib/apt/lists/*
143147

144148
#---------------------------------------------------------------------

0 commit comments

Comments
 (0)