Skip to content

Commit

Permalink
[FIX] Building Docker image on M1 Macbook.
Browse files Browse the repository at this point in the history
  • Loading branch information
mathdugre committed Jun 20, 2024
1 parent 83062d1 commit 5ad27ef
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 5ad27ef

Please sign in to comment.