Makefile: fix compat issue with macOS.
This commit is contained in:
parent
90f9ab4200
commit
ba6e78900c
@ -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..."
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user