forked from everx-labs/evernode-se
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.cmd
37 lines (31 loc) · 824 Bytes
/
build.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
@echo off
set TON_NODE="tonlabs/ton-node"
set TONOS_SE="tonlabs/evernode-se"
set BIN_TARGET="evernode_se"
set Q_SERVER_GITHUB_REPO="https://github.com/everx-labs/ever-q-server"
set /P Q_SERVER_GITHUB_REV=<q-server.version
echo.
echo *** Building Evernode SE ***
echo.
docker build ^
--no-cache ^
--build-arg BIN_TARGET="%BIN_TARGET%" ^
--tag %TON_NODE% ^
node ^
|| exit /b
echo.
echo *** Building TONOS SE image ***
echo.
docker build ^
--no-cache ^
--build-arg TON_NODE="%TON_NODE%" ^
--build-arg Q_SERVER_GITHUB_REPO="%Q_SERVER_GITHUB_REPO%" ^
--build-arg Q_SERVER_GITHUB_REV="%Q_SERVER_GITHUB_REV%" ^
--tag %TONOS_SE% ^
docker ^
|| exit /b
echo.
echo BUILD SUCCESS
echo.
echo How to run:
echo docker run -d --name evernode-se -e USER_AGREEMENT=yes -p80:80 %TONOS_SE%