From 85fc5e365230c28ece6ecd8403a3f426a68db2f8 Mon Sep 17 00:00:00 2001 From: thomasms Date: Fri, 12 Sep 2025 17:13:01 +0200 Subject: Improve docker build time --- .nea/docker/Dockerfile.slim | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to '.nea/docker') diff --git a/.nea/docker/Dockerfile.slim b/.nea/docker/Dockerfile.slim index ebfae15..251dfb5 100644 --- a/.nea/docker/Dockerfile.slim +++ b/.nea/docker/Dockerfile.slim @@ -32,13 +32,14 @@ RUN AG="env DEBIAN_FRONTEND=noninteractive apt-get -yq" && \ rm -rf .git Donjon/data Dragon/data Trivac/data doc && \ cd ${DRAGON_CODE_DIR}/Donjon && \ make hdf5=1 openmp=1 && \ - # this doesn't remove the binaries, just the *.o and the *.a and *.mod files - make clean && \ cd ../PyGan && \ make hdf5=1 openmp=1 && \ # this doesn't remove the binaries, just the *.o and the *.a and *.mod files make clean && \ - cd ../Ganlib && \ + cd ${DRAGON_CODE_DIR}/Donjon && \ + # this doesn't remove the binaries, just the *.o and the *.a and *.mod files + make clean && \ + cd ${DRAGON_CODE_DIR}/Ganlib && \ ./rganlib -q testgan1.x2m && \ ./rganlib -q testgan2.x2m && \ ./rganlib -q testgan3.x2m && \ -- cgit v1.2.3