common:
|-- include
|-- src
3rd-libraries:
|-- curl
|-- openssl
|-- secp256k1
hirefs:
|-- build
|-- hireLogManager
|-- hireManager
|-- hireVolume
|-- websocket_server
filetrans
|--dist
|--utg
|--docs
|--src
|--web
docker
|--files
|--etc
|--opt
|--usr
|--Dockerfile
- Minimum:
CPU with 4+ cores (x86_64)
2GB RAM
10TB free storage space
- build hireversion.h
#if !defined(__HIRE_VERSION_H)
#define __HIRE_VERSION_H
#define HIRE_PRODUCT_VERSION "v0.166"
#endif
- x86_64 : debian ubuntu centos gcc C++11
cd hirefs
cat hireversion.h
mkdir build
cd build
cmake ..
make
#move to docker
mv hirefs docker/usr/bin/utgfsd
cd filetrans
cd src
make
#move to docker
mv dist/utg.tar.gz docker/opt/utgfs/
cd docker/opt/utgfs
tar zxvf utg.tar.gz
rm utg.tar.gz
cd docker
rm -f files.tar.gz
# docker/files
cd files
tar cfzv files.tar.gz *
#build and push to dockerhub
#cd ../
#DIST_VERSION=`get_version`
#docker login -u username -p passwd
#docker build -t username/utg-storage:v$DIST_VERSION .
#docker push username/utg-storage:v$DIST_VERSION