1- # Building the yCrash Agent on Linux
1+ # Building the yc-360 Script on Linux
22
3- This guide outlines the steps to build the yCrash agent in Linux environment. You have two options for building the agent :
3+ This guide outlines the steps to build the yc-360 script in a Linux environment. You have two options for building the script :
44
551 ) Build via Dockerized Environment (Recommended)
662 ) Build on Bare Metal
@@ -30,7 +30,7 @@ RUN apk add --no-cache \
3030
3131ENV PATH=${PATH}:/usr/local/go/bin
3232
33- WORKDIR /opt/workspace/yc-agent
33+ WORKDIR /opt/workspace/yc-360-script
3434
3535ENTRYPOINT ["/bin/sh" ]
3636```
4646 echo " default"
4747
4848alpine :
49- docker build -f Dockerfile.base.alpine -t yc-agent -base:alpine .
49+ docker build -f Dockerfile.base.alpine -t yc-360-script -base:alpine .
5050
5151base : alpine
52- docker rm -f yc-agent -alpine || true
52+ docker rm -f yc-360-script -alpine || true
5353 docker run --init -d -ti --rm \
54- --name yc-agent -alpine \
55- -v $(CWD ) :/opt/workspace/yc-agent \
56- yc-agent -base:alpine
54+ --name yc-360-script -alpine \
55+ -v $(CWD ) :/opt/workspace/yc-360-script \
56+ yc-360-script -base:alpine
5757
5858shell :
59- docker exec -it yc-agent -alpine /bin/sh
59+ docker exec -it yc-360-script -alpine /bin/sh
6060
6161build :
62- docker exec -it yc-agent -alpine /bin/sh -c " cd cmd/yc && go build -o yc -ldflags='-s -w' -buildvcs=false && mkdir -p ../../bin/ && mv yc ../../bin/"
62+ docker exec -it yc-360-script -alpine /bin/sh -c " cd cmd/yc && go build -o yc -ldflags='-s -w' -buildvcs=false && mkdir -p ../../bin/ && mv yc ../../bin/"
6363```
64- # ### Step 3: Build the Agent
65- To build the agent using the containerized environment, run the following command :
64+ # ### Step 3: Build the yc-360 Script
65+ To build the script using the containerized environment, run the following command :
6666```
6767sudo make alpine base build
6868```
@@ -71,7 +71,7 @@ After successful execution, the yc binary will be created in the `../yc-data-scr
7171
7272## 2. Build on Bare Metal
7373
74- If you prefer building the agent directly on your local system, ensure the following packages are installed.
74+ If you prefer building the yc-360 script directly on your local system, ensure the following packages are installed.
7575
7676** Required Packages:**
7777- go
@@ -92,7 +92,7 @@ If you prefer building the agent directly on your local system, ensure the follo
9292```
9393cd ../yc-data-script/cmd/yc
9494```
95- #### Step 2: Then run the following command to build the agent :
95+ #### Step 2: Then run the following command to build the yc-360 Script :
9696```
9797go build -o yc -ldflags='-s -w' -buildvcs=false && mkdir -p ../../bin/ && mv yc ../../bin/
9898```
0 commit comments