mirror of
https://github.com/EvernodeXRPL/hpcore.git
synced 2026-04-29 15:37:59 +00:00
14 lines
382 B
Bash
Executable File
14 lines
382 B
Bash
Executable File
#!/bin/bash
|
|
|
|
hpcoredir=$(realpath ../..)
|
|
repo=hotpocketdev/hotpocket
|
|
|
|
# Build base Ubuntu image.
|
|
mkdir -p bin
|
|
cp $hpcoredir/build/{hpcore,appbill} $hpcoredir/test/bin/{hpfs,hpws,libblake3.so} ./bin/
|
|
strip ./bin/hpcore
|
|
docker build -t $repo:ubt.20.04 -f ./Dockerfile.ubt.20.04 ./bin
|
|
rm -r bin
|
|
|
|
# NodeJs image.
|
|
docker build -t $repo:ubt.20.04-njs.14 -f ./Dockerfile.ubt.20.04-njs.14 . |