Skip to content

Commit

Permalink
Merge pull request #449 from mathdugre/fix/docker-build-arm64
Browse files Browse the repository at this point in the history
[FIX] Building Docker image on ARM64 devices
  • Loading branch information
oesteban authored Jun 20, 2024
2 parents 83062d1 + 5ad27ef commit d5f421a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ RUN python -m build /src
#

# Utilities for downloading packages
FROM ${BASE_IMAGE} as downloader
FROM --platform=linux/amd64 ${BASE_IMAGE} as downloader

# Bump the date to current to refresh curl/certificates/etc
RUN echo "2023.11.09"
Expand Down Expand Up @@ -100,7 +100,7 @@ RUN /opt/conda/envs/sdcflows/bin/pip install --no-cache-dir -r /tmp/requirements
#
# Main stage
#
FROM ${BASE_IMAGE} as sdcflows
FROM --platform=linux/amd64 ${BASE_IMAGE} as sdcflows

# Configure apt
ENV DEBIAN_FRONTEND="noninteractive" \
Expand Down

0 comments on commit d5f421a

Please sign in to comment.