Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .dockerhub/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ ARG CMAKE_BUILD_TYPE="Release"
USER root
WORKDIR /root

ENV PATH="/opt/remage/bin:$PATH" \
LD_LIBRARY_PATH="/opt/remage/lib:$LD_LIBRARY_PATH" \
NUMBA_CPU_NAME="generic" \
NUMBA_DEBUG_CACHE=1

RUN mkdir -p src build /opt/remage && \
if [ "${REMAGE_VERSION}" = "dev" ]; then \
rm -rf src && \
Expand Down Expand Up @@ -38,10 +43,7 @@ RUN mkdir -p src build /opt/remage && \
# also install the package into the container-provided main venv
uv --no-cache pip install --upgrade ./src && \
rm -rf build src && \
LD_LIBRARY_PATH="/opt/remage/lib:$LD_LIBRARY_PATH" /opt/remage/bin/remage --version # populate numba cache

ENV PATH="/opt/remage/bin:$PATH" \
LD_LIBRARY_PATH="/opt/remage/lib:$LD_LIBRARY_PATH"
/opt/remage/bin/remage --version # populate numba cache

ENTRYPOINT ["/opt/remage/bin/remage"]

Expand Down
Loading