mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-14 04:31:02 +00:00

- Fixed local mysql port conflict - Added temp files cleaning up - Changed ES doc name to Readme.md
17 lines
351 B
Bash
Executable File
17 lines
351 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-backend/build/distributions/wherehows-backend.zip -d tmp
|
|
|
|
docker build --force-rm -t linkedin/wherehows-backend:$VERSION .
|
|
docker build --force-rm -t linkedin/wherehows-backend:latest .
|
|
|
|
# Clean up
|
|
rm -rf tmp |