mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-14 12:41:30 +00:00

- Fixed local mysql port conflict - Added temp files cleaning up - Changed ES doc name to Readme.md
17 lines
355 B
Bash
Executable File
17 lines
355 B
Bash
Executable File
#!/bin/sh
|
|
|
|
VERSION=$1
|
|
if [ -z "$VERSION" ]; then
|
|
echo "Usage: $0 <version>"
|
|
exit 0
|
|
fi
|
|
|
|
# Extract dist zip
|
|
rm -rf tmp
|
|
unzip ../../wherehows-frontend/build/distributions/wherehows-frontend.zip -d tmp
|
|
|
|
docker build --force-rm -t linkedin/wherehows-frontend:$VERSION .
|
|
docker build --force-rm -t linkedin/wherehows-frontend:latest .
|
|
|
|
# Clean up
|
|
rm -rf tmp |