-Had to update the awips-ade and awips-devel dockers -Update rpm building to include awips2-python-awips (which includes awips, dynamicserialize, thrift packages), and remove rpm install dependencies on ufpy, dynamicserialize, and thrift -Update LDM scripts and edexBridge to use awips instead of ufpy -Update multiple python scripts across several repos to use awips instead of ufpy -awips2 -awips2-core -awips2-nativelib -awips2-ncep -awips2-rpm
23 lines
662 B
Bash
Executable file
23 lines
662 B
Bash
Executable file
#!/bin/bash
|
|
dir="$( cd "$(dirname "$0")" ; pwd -P )"
|
|
pushd $dir
|
|
. ../buildEnvironment.sh
|
|
img="awips-devel-20.3.2-2"
|
|
|
|
|
|
if [ -z "$1" ]; then
|
|
echo "supply type (el7)"
|
|
exit
|
|
fi
|
|
os_version=$1
|
|
|
|
existing=$(sudo docker images |grep ${img} | grep $1 | awk '{ print $3 }')
|
|
if [ ! -z "$existing" ]; then
|
|
docker rmi $existing
|
|
fi
|
|
pushd /awips2/repo/awips2-builds/build/awips-ade
|
|
docker build -t tiffanym13/${img} -f Dockerfile.${img}.${os_version} .
|
|
dockerID=$(docker images | grep ${img} | grep latest | awk '{print $3}' | head -1 )
|
|
docker tag $dockerID tiffanym13/${img}:${os_version}
|
|
docker rmi tiffanym13/${img}:latest
|
|
docker push tiffanym13/${img}:${os_version}
|