Skip to content

Commit 002168d

Browse files
committed
[aarch64] Dockerfile support
Tested with base_image=ubuntu:focal docker build -t --build-arg base_image=ubuntu:focal torch-xla -f docker/Dockerfile .
1 parent 3edfe4b commit 002168d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docker/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,12 @@ ARG bazel_jobs=""
1414
ARG git_clone="true"
1515

1616
RUN apt-get update
17-
RUN apt-get install -y git sudo python-pip python3-pip
17+
RUN apt-get install -y git sudo python3-pip
1818
RUN git clone https://github.com/pytorch/pytorch
1919

20+
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
21+
RUN sudo apt-get install -y -q
22+
2023
# Disable CUDA for PyTorch
2124
ENV USE_CUDA "0"
2225

0 commit comments

Comments
 (0)