mirror of
https://github.com/EvernodeXRPL/hpcore.git
synced 2026-04-29 15:37:59 +00:00
Added license file to Docker (#392)
This commit is contained in:
@@ -77,7 +77,7 @@ target_link_libraries(hpcore
|
||||
add_custom_command(TARGET hpcore POST_BUILD
|
||||
|
||||
# COMMAND strip ./build/hpcore
|
||||
COMMAND cp ./test/bin/hpws ./test/bin/hpfs ./build/
|
||||
COMMAND cp ./test/bin/hpws ./test/bin/hpfs ./evernode-license.pdf ./build/
|
||||
)
|
||||
|
||||
target_precompile_headers(hpcore PUBLIC src/pchheader.hpp)
|
||||
@@ -88,6 +88,7 @@ add_custom_target(docker
|
||||
COMMAND mkdir -p ./test/local-cluster/bin
|
||||
COMMAND cp ./build/hpcore ./test/local-cluster/bin/
|
||||
COMMAND cp ./test/bin/libblake3.so ./test/bin/hpws ./test/bin/hpfs ./test/local-cluster/bin/
|
||||
COMMAND cp ./evernode-license.pdf ./test/local-cluster/bin/
|
||||
COMMAND docker build -t hpcore:latest -t hpcore:0.6.4 -f ./test/local-cluster/Dockerfile ./test/local-cluster/bin/
|
||||
)
|
||||
set_target_properties(docker PROPERTIES EXCLUDE_FROM_ALL TRUE)
|
||||
|
||||
BIN
evernode-license.pdf
Normal file
BIN
evernode-license.pdf
Normal file
Binary file not shown.
@@ -13,6 +13,6 @@ RUN apt-get update \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& mkdir /usr/local/bin/hotpocket
|
||||
|
||||
COPY hpcore hpfs hpws /usr/local/bin/hotpocket/
|
||||
COPY hpcore hpfs hpws evernode-license.pdf /usr/local/bin/hotpocket/
|
||||
|
||||
ENTRYPOINT ["/usr/local/bin/hotpocket/hpcore"]
|
||||
|
||||
@@ -8,7 +8,7 @@ njsfile="Dockerfile.ubt.20.04-njs"
|
||||
|
||||
# Prepare build context
|
||||
tmp=$(mktemp -d)
|
||||
cp $hpcoredir/build/hpcore $hpcoredir/test/bin/{hpfs,hpws,libblake3.so} $tmp/
|
||||
cp $hpcoredir/build/hpcore $hpcoredir/test/bin/{hpfs,hpws,libblake3.so} $hpcoredir/evernode-license.pdf $tmp/
|
||||
strip $tmp/hpcore
|
||||
|
||||
# Remove the revision component from hp version to make up the image version.
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
FROM evernodedev/hotpocket:latest-ubt.20.04-njs.20
|
||||
|
||||
# Copy (overwrite) the local build outputs into the docker image.
|
||||
COPY hpcore hpfs hpws /usr/local/bin/hotpocket/
|
||||
COPY hpcore hpfs hpws evernode-license.pdf /usr/local/bin/hotpocket/
|
||||
|
||||
ENTRYPOINT ["/usr/local/bin/hotpocket/hpcore"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user