From c5d08fb762fe8b88a2af2a77d4e9ee135a430124 Mon Sep 17 00:00:00 2001 From: Mark_Jeong <81726531+markjung96@users.noreply.github.com> Date: Fri, 20 Dec 2024 14:15:29 +0900 Subject: [PATCH] feat: add v0.5.6 --- docker-compose.yml | 28 ++++++++++++++++++++++++++++ install.arm.sh | 7 ++++++- 2 files changed, 34 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 04a458d..c429a8c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -137,3 +137,31 @@ services: memory: "1G" depends_on: - amd_cargo_stylus_v0.5.4 + + amd_cargo_stylus_v0.5.6: + build: + context: . + dockerfile: Dockerfile.amd + args: + GIT_TAG: v0.5.6 + image: amd_cargo_stylus_v0.5.6 + container_name: amd_cargo_stylus_v0.5.6 + platform: linux/amd64 + ports: + - "8156:8080" + volumes: + - ./project:/workspace + environment: + - CARGO_TARGET_DIR=/cargo-target + stdin_open: true + tty: true + deploy: + resources: + limits: + cpus: "2.0" + memory: "2G" + reservations: + cpus: "1.0" + memory: "1G" + depends_on: + - amd_cargo_stylus_v0.5.5 diff --git a/install.arm.sh b/install.arm.sh index 66c92f4..da2bf84 100644 --- a/install.arm.sh +++ b/install.arm.sh @@ -23,9 +23,14 @@ cargo install --path main --root ~/.cargo/v0.5.4-welldone git checkout v0.5.5-welldone cargo install --path main --root ~/.cargo/v0.5.5-welldone +# v0.5.6 설치 +git checkout v0.5.6-welldone +cargo install --path main --root ~/.cargo/v0.5.6-welldone + # 설치된 경로 출력 echo "v0.5.1-welldone: ~/.cargo/v0.5.1-welldone/bin/cargo-stylus" echo "v0.5.2-welldone: ~/.cargo/v0.5.2-welldone/bin/cargo-stylus" echo "v0.5.3-welldone: ~/.cargo/v0.5.3-welldone/bin/cargo-stylus" echo "v0.5.4-welldone: ~/.cargo/v0.5.4-welldone/bin/cargo-stylus" -echo "v0.5.5-welldone: ~/.cargo/v0.5.5-welldone/bin/cargo-stylus" \ No newline at end of file +echo "v0.5.5-welldone: ~/.cargo/v0.5.5-welldone/bin/cargo-stylus" +echo "v0.5.6-welldone: ~/.cargo/v0.5.6-welldone/bin/cargo-stylus" \ No newline at end of file