Skip to content

Commit 426b92f

Browse files
committed
[Intl] Add compile binary
1 parent 613bc42 commit 426b92f

File tree

1 file changed

+12
-0
lines changed
  • src/Symfony/Component/Intl/Resources/bin

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/usr/bin/env bash
2+
3+
if [[ $1 == force || ! $(docker ps -a | grep symfony-intl) ]]; then
4+
docker rm -f symfony-intl
5+
docker create --name symfony-intl -it -v /tmp:/tmp -v $(pwd):/app -w /app jakzal/php-intl:7.2-63.1 bash
6+
docker start symfony-intl
7+
docker exec symfony-intl bash -xc "apt-get update && apt-get -y install build-essential"
8+
else
9+
docker start symfony-intl
10+
fi;
11+
12+
docker exec -u $(id -u):$(id -g) symfony-intl php src/Symfony/Component/Intl/Resources/bin/update-data.php

0 commit comments

Comments
 (0)