torch-mlir/utils/bazel/docker/run_docker.sh

11 lines
268 B
Bash
Raw Permalink Normal View History

#!/usr/bin/env bash
docker build -f utils/bazel/docker/Dockerfile \
-t torch-mlir:dev \
.
docker run -it \
-v "$(pwd)":"/opt/src/torch-mlir" \
-v "${HOME}/.cache/bazel":"/root/.cache/bazel" \
torch-mlir:dev