<#694 Building docker image ignores build-arg> New...
# openlane
g
#694 Building docker image ignores build-arg New issue created by vvbandeira OpenLane/docker_build/docker/openroad_app/Dockerfile Lines 47 to 48 in </The-OpenROAD-Project/OpenLane/commit/18a17f40742879c88cd6393e540f148a8738102e|18a17f4> I think these arguments need to be globally defined. See similar issue here. I have noticed that in our Jenkins pipeline we pass the correct commit hash:
Copy code
[2021-11-07T08:26:30.103Z] docker build --rm --build-arg OPENROAD_APP_REPO=<https://github.com/The-OpenROAD-Project/OpenROAD> --build-arg OPENROAD_APP_COMMIT=ee6f9908d01de3d8cd716acb5b1e4ad234d26cdd -t openroad_app docker/openroad_app | tee logs/docker/openroad_app.build.txt
But during the build, the argument is ignored:
Copy code
[2021-11-07T08:28:51.297Z] Step 9/20 : ARG OPENROAD_APP_COMMIT=4d4d7205fd0292dbf3fae55fad9109b3f0bd5786
Full log here. (@maliberty FYI) The-OpenROAD-Project/OpenLane