Skip to content

Commit 84eac1b

Browse files
committed
Cleanup local testing of docker builds
1 parent a85e20f commit 84eac1b

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

scripts/prepare_hf_deployment.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,7 @@ DOCKERFILE_EOF
9595
# OpenSpiel requires special C++ build process - replace entire Dockerfile
9696
cat > $CURRENT_STAGING_DIR/Dockerfile << DOCKERFILE_EOF
9797
# OpenSpiel environment using pre-built OpenSpiel base image
98-
# Use the pre-built OpenSpiel base image (contains compiled OpenSpiel)
99-
# Built from: docker build -t openspiel-base:latest -f src/envs/openspiel_env/server/Dockerfile.openspiel-base .
100-
# In GitHub Actions, this is overridden to use the GHCR base image
101-
ARG OPENSPIEL_BASE_IMAGE=openspiel-base:latest
98+
ARG OPENSPIEL_BASE_IMAGE=ghcr.io/meta-pytorch/openenv-openspiel-base:sha-e622c7e
10299
FROM \${OPENSPIEL_BASE_IMAGE}
103100
104101
# Copy OpenEnv core (base image already set WORKDIR=/app)

src/envs/openspiel_env/server/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
# Use the pre-built OpenSpiel base image
88
# Built from: docker build -t openspiel-base:latest -f src/envs/openspiel_env/server/Dockerfile.openspiel-base .
99
# In GitHub Actions, this is overridden to use the GHCR base image
10-
1110
ARG OPENSPIEL_BASE_IMAGE=openspiel-base:latest
1211
FROM ${OPENSPIEL_BASE_IMAGE}
1312

src/envs/openspiel_env/server/Dockerfile.openspiel-base

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# This image contains OpenSpiel compiled and ready to use
99
# Built from: docker build -t openspiel-base:latest -f src/envs/openspiel_env/server/Dockerfile.openspiel-base .
1010
# In GitHub Actions, this is overridden to use the GHCR base image
11-
ARG BASE_IMAGE=ghcr.io/meta-pytorch/openenv-base:latest
11+
ARG BASE_IMAGE=openenv-base:latest
1212
FROM ${BASE_IMAGE}
1313

1414
# Avoid interactive prompts during build

0 commit comments

Comments
 (0)