Spaces:
Running
Running
github-actions[bot]
commited on
Commit
·
6a34cf8
1
Parent(s):
cdbaa1b
🤖 Deploy openspiel_env environment - 2025-10-21 17:57:13
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
ARG BASE_IMAGE=ghcr.io/meta-pytorch/openenv-base:latest
|
| 4 |
|
| 5 |
# Stage 1: Build OpenSpiel C++ bindings using the same base image
|
| 6 |
-
FROM
|
| 7 |
|
| 8 |
# Avoid interactive prompts during build
|
| 9 |
ENV DEBIAN_FRONTEND=noninteractive
|
|
@@ -33,7 +33,7 @@ RUN cmake -DPython3_EXECUTABLE=/usr/bin/python3 -DCMAKE_CXX_COMPILER=/usr/bin/cl
|
|
| 33 |
RUN make -j4 pyspiel
|
| 34 |
|
| 35 |
# Stage 2: Use the specified openenv-base image
|
| 36 |
-
FROM
|
| 37 |
|
| 38 |
# Copy OpenSpiel build artifacts from builder
|
| 39 |
RUN mkdir -p /repo
|
|
|
|
| 3 |
ARG BASE_IMAGE=ghcr.io/meta-pytorch/openenv-base:latest
|
| 4 |
|
| 5 |
# Stage 1: Build OpenSpiel C++ bindings using the same base image
|
| 6 |
+
FROM ${BASE_IMAGE} AS openspiel-builder
|
| 7 |
|
| 8 |
# Avoid interactive prompts during build
|
| 9 |
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
| 33 |
RUN make -j4 pyspiel
|
| 34 |
|
| 35 |
# Stage 2: Use the specified openenv-base image
|
| 36 |
+
FROM ${BASE_IMAGE}
|
| 37 |
|
| 38 |
# Copy OpenSpiel build artifacts from builder
|
| 39 |
RUN mkdir -p /repo
|