Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ jobs:
tags: ${{ vars.DOCKERHUB_USERNAME }}/simpleclouddetect:${{ needs.prepare.outputs.docker_tag }}-${{ matrix.platform_tag }}
# Use persistent cache on self-hosted runner
cache-from: type=local,src=${{ env.CACHE_PATH }}
cache-to: type=local,dest=${{ env.CACHE_PATH_NEW }},mode=min
cache-to: type=local,dest=${{ env.CACHE_PATH_NEW }},mode=max
platforms: ${{ matrix.platform }}

- name: Move cache
Expand Down
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ COPY requirements.txt requirements-arm64.txt ./
# Install dependencies based on architecture
ARG TARGETPLATFORM
RUN pip install --no-cache-dir --upgrade pip && \
export MAKEFLAGS="-j$(nproc)" && \
export MAX_JOBS="$(nproc)" && \
if [ "$TARGETPLATFORM" = "linux/arm64" ]; \
then \
pip install --no-cache-dir -r requirements-arm64.txt; \
Expand Down Expand Up @@ -69,4 +71,4 @@ HEALTHCHECK --interval=60s --timeout=10s --start-period=30s --retries=3 \
CMD curl -f http://localhost:${ALPACA_PORT:-11111}/api/v1/safetymonitor/${ALPACA_DEVICE_NUMBER:-0}/connected || exit 1

# Run the startup script to launch unified service
CMD ["./start_services.sh"]
CMD ["./start_services.sh"]
Loading