Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
quidl committed Jun 1, 2024
1 parent 645ed31 commit d3a13a6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build agent
FROM node:14 as build
FROM node:20.9.0 as build

ARG KATALON_ROOT_DIR=/katalon
RUN mkdir -p $KATALON_ROOT_DIR
Expand Down
12 changes: 9 additions & 3 deletions docker/scripts/build_agent.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@
set -xe

npm ci
npm run buildLinux --if-present
chmod +x bin/cli-linux-x64 *.sh
npm run build
node --experimental-sea-config sea-config.json
cp $(command -v node) agent
npx postject agent NODE_SEA_BLOB agent.blob --sentinel-fuse NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2

ls -al ./bin
chmod +x agent
mkdir bin
cp agent bin/cli-linux-x64
npm run afterbuild
ls -al bin

0 comments on commit d3a13a6

Please sign in to comment.