diff --git a/scripts/Dockerfile.build_deps.in b/scripts/Dockerfile.build_deps.in index 08342c124..1e7a9bf2d 100644 --- a/scripts/Dockerfile.build_deps.in +++ b/scripts/Dockerfile.build_deps.in @@ -1,7 +1,14 @@ FROM $base_image +## /!\ /!\ /!\ /!\/!\ /!\ /!\ +## /!\ Don't forget fu update the variables 'dependencies' in +## /!\ `create_docker_image.build_deps.sh` when modifyiing the +## /!\ 'COPY'edfiles. +## /!\ /!\ /!\ /!\/!\ /!\ /!\ + COPY scripts/install_build_deps.sh scripts/version.sh tezos/scripts/ COPY tezos-deps.opam tezos/ + RUN sudo apk update && \ opam config exec -- ./tezos/scripts/install_build_deps.sh && \ opam install ocp-indent && \ diff --git a/scripts/create_docker_image.build_deps.sh b/scripts/create_docker_image.build_deps.sh index 202437ea2..534386068 100755 --- a/scripts/create_docker_image.build_deps.sh +++ b/scripts/create_docker_image.build_deps.sh @@ -28,7 +28,7 @@ sed -e 's|$base_image|'"$base_image"'|g' \ scripts/Dockerfile.build_deps.in > Dockerfile ## Lookup for for prebuilt dependencies... -dependencies="scripts/install_build_deps.sh tezos.opam Dockerfile" +dependencies="scripts/install_build_deps.sh scripts/version.sh tezos-deps.opam Dockerfile" dependencies_sha1=$(docker inspect --format="{{ .RootFS.Layers }}" --type=image $base_image | sha1sum - $dependencies | sha1sum | tr -d ' -') if [ ! -z "$cached_image" ]; then echo