Makefile: fix compat issue with macOS.

This commit is contained in:
Grégoire Henry 2017-08-22 14:09:21 +02:00
parent 90f9ab4200
commit ba6e78900c
3 changed files with 7 additions and 7 deletions

View File

@ -18,8 +18,8 @@ cleanup () {
}
trap cleanup EXIT INT
sed scripts/Dockerfile.build.in \
-e 's|$base_image|'"$build_deps_image_name"'|g' > Dockerfile
sed -e 's|$base_image|'"$build_deps_image_name"'|g' \
scripts/Dockerfile.build.in > Dockerfile
echo
echo "### Building tezos..."

View File

@ -23,9 +23,9 @@ cleanup () {
}
trap cleanup EXIT INT
sed scripts/Dockerfile.build_deps.in \
-e 's|$base_image|'"$base_image"'|g' \
-e 's|$ocaml_version|'"$ocaml_version"'|g' > Dockerfile
sed -e 's|$base_image|'"$base_image"'|g' \
-e 's|$ocaml_version|'"$ocaml_version"'|g' \
scripts/Dockerfile.build_deps.in > Dockerfile
## Lookup for for prebuilt dependencies...
dependencies="scripts/install_build_deps.sh src/tezos-deps.opam Dockerfile"

View File

@ -30,8 +30,8 @@ echo
echo "### Building minimal docker image..."
echo
sed scripts/Dockerfile.minimal.in \
-e 's|$alpine_version|'"$alpine_version"'|g' > Dockerfile
sed -e 's|$alpine_version|'"$alpine_version"'|g' \
scripts/Dockerfile.minimal.in > Dockerfile
docker build -t "$image_name:$image_version" .
echo