From 99097a16ce3cdcaa19cea0c15bcfb35b49ff88d1 Mon Sep 17 00:00:00 2001 From: Albert Chen Date: Mon, 16 May 2022 18:13:58 -0700 Subject: [PATCH 01/10] chore: update anchor to 0.24.2 --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7a7b97c..93457ff 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ -FROM rust:1.59 +FROM rust:1.60 ARG SOLANA_VERSION=v1.9.14 -ARG ANCHOR_VERSION=v0.23.0 +ARG ANCHOR_VERSION=v0.24.2 RUN apt-get update -y RUN apt-get upgrade -y @@ -16,6 +16,8 @@ RUN cargo install --git https://github.com/project-serum/anchor --tag $ANCHOR_VE RUN curl -fsSL https://deb.nodesource.com/setup_17.x | bash - RUN apt-get install -y nodejs +RUN npm install --global yarn + COPY shell-exec.sh /bin/shell-exec RUN chmod +x /bin/shell-exec From 0f777d106d3ef0e4adec7d65b1d43398a35eaa28 Mon Sep 17 00:00:00 2001 From: Albert Chen Date: Sat, 1 Oct 2022 01:35:28 -0700 Subject: [PATCH 02/10] chore: update to subset cli --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 93457ff..59a6752 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,8 @@ RUN rustup component add rustfmt clippy RUN sh -c "$(curl -sSfL https://release.solana.com/$SOLANA_VERSION/install)" ENV PATH=/root/.local/share/solana/install/active_release/bin:$PATH -RUN cargo install --git https://github.com/project-serum/anchor --tag $ANCHOR_VERSION anchor-cli --locked +# RUN cargo install --git https://github.com/project-serum/anchor --tag $ANCHOR_VERSION anchor-cli --locked +RUN cargo install --git https://github.com/skrrb/anchor --branch cli/run-test-subset anchor-cli --locked RUN curl -fsSL https://deb.nodesource.com/setup_17.x | bash - RUN apt-get install -y nodejs From f74bd79696990b6b3208aec25f337646f93ae0c6 Mon Sep 17 00:00:00 2001 From: Albert Chen Date: Thu, 3 Nov 2022 03:08:43 +0000 Subject: [PATCH 03/10] chore: update solana to 1.13.3 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 59a6752..6adcfe1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM rust:1.60 -ARG SOLANA_VERSION=v1.9.14 +ARG SOLANA_VERSION=v1.13.3 ARG ANCHOR_VERSION=v0.24.2 RUN apt-get update -y From 9a9c97a0a2908dfb274fd6b4f506d9c6ed462dd5 Mon Sep 17 00:00:00 2001 From: Albert Chen Date: Thu, 29 Dec 2022 03:15:42 +0800 Subject: [PATCH 04/10] chore: update anchor to 0.26.0 --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6adcfe1..1eb4372 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM rust:1.60 ARG SOLANA_VERSION=v1.13.3 -ARG ANCHOR_VERSION=v0.24.2 +ARG ANCHOR_VERSION=v0.26.0 RUN apt-get update -y RUN apt-get upgrade -y @@ -11,8 +11,8 @@ RUN rustup component add rustfmt clippy RUN sh -c "$(curl -sSfL https://release.solana.com/$SOLANA_VERSION/install)" ENV PATH=/root/.local/share/solana/install/active_release/bin:$PATH -# RUN cargo install --git https://github.com/project-serum/anchor --tag $ANCHOR_VERSION anchor-cli --locked -RUN cargo install --git https://github.com/skrrb/anchor --branch cli/run-test-subset anchor-cli --locked +RUN cargo install --git https://github.com/project-serum/anchor --tag $ANCHOR_VERSION anchor-cli --locked +# RUN cargo install --git https://github.com/skrrb/anchor --branch cli/run-test-subset anchor-cli --locked RUN curl -fsSL https://deb.nodesource.com/setup_17.x | bash - RUN apt-get install -y nodejs From e7e27cde17d127500821d7258f12bd8cbe969684 Mon Sep 17 00:00:00 2001 From: Albert Chen Date: Tue, 23 May 2023 10:21:34 -0700 Subject: [PATCH 05/10] chore: update to 0.27.0 for anchor --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1eb4372..1fd118e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ -FROM rust:1.60 +FROM rust:1.65 ARG SOLANA_VERSION=v1.13.3 -ARG ANCHOR_VERSION=v0.26.0 +ARG ANCHOR_VERSION=v0.27.0 RUN apt-get update -y RUN apt-get upgrade -y @@ -11,7 +11,7 @@ RUN rustup component add rustfmt clippy RUN sh -c "$(curl -sSfL https://release.solana.com/$SOLANA_VERSION/install)" ENV PATH=/root/.local/share/solana/install/active_release/bin:$PATH -RUN cargo install --git https://github.com/project-serum/anchor --tag $ANCHOR_VERSION anchor-cli --locked +RUN cargo install --git https://github.com/coral-xyz/anchor --tag $ANCHOR_VERSION anchor-cli --locked # RUN cargo install --git https://github.com/skrrb/anchor --branch cli/run-test-subset anchor-cli --locked RUN curl -fsSL https://deb.nodesource.com/setup_17.x | bash - From 142eb462ab48b6c2b474c320617674c25a0fbb06 Mon Sep 17 00:00:00 2001 From: Guido Dipietro Date: Wed, 24 May 2023 12:18:30 -0300 Subject: [PATCH 06/10] Match SOLANA_VERSION with Anchor's --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 1fd118e..31958e5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM rust:1.65 -ARG SOLANA_VERSION=v1.13.3 +ARG SOLANA_VERSION=v1.14.16 ARG ANCHOR_VERSION=v0.27.0 RUN apt-get update -y From 63588b677b28f946aa57d5970364a70beef232e9 Mon Sep 17 00:00:00 2001 From: Guido Dipietro Date: Tue, 11 Jul 2023 12:44:52 -0300 Subject: [PATCH 07/10] Add EXPOSE command --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 31958e5..6b8875c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,4 +22,7 @@ RUN npm install --global yarn COPY shell-exec.sh /bin/shell-exec RUN chmod +x /bin/shell-exec +EXPOSE 8080 +EXPOSE 9000 + WORKDIR workspace/ \ No newline at end of file From f9fbc049084860058399be8e70adac27bb58cca4 Mon Sep 17 00:00:00 2001 From: Guido Dipietro <48221146+GuidoDipietro@users.noreply.github.com> Date: Tue, 23 Apr 2024 16:19:49 -0300 Subject: [PATCH 08/10] Bump Node to v18 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6b8875c..9954760 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,7 @@ ENV PATH=/root/.local/share/solana/install/active_release/bin:$PATH RUN cargo install --git https://github.com/coral-xyz/anchor --tag $ANCHOR_VERSION anchor-cli --locked # RUN cargo install --git https://github.com/skrrb/anchor --branch cli/run-test-subset anchor-cli --locked -RUN curl -fsSL https://deb.nodesource.com/setup_17.x | bash - +RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - RUN apt-get install -y nodejs RUN npm install --global yarn @@ -25,4 +25,4 @@ RUN chmod +x /bin/shell-exec EXPOSE 8080 EXPOSE 9000 -WORKDIR workspace/ \ No newline at end of file +WORKDIR workspace/ From 5c192c07418bd9460c8846274b3cb688edac92cf Mon Sep 17 00:00:00 2001 From: Guido Dipietro Date: Mon, 17 Jun 2024 20:37:06 -0300 Subject: [PATCH 09/10] bump solana and anchor versions --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9954760..c3ecfc2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ -FROM rust:1.65 +FROM rust:1.69 -ARG SOLANA_VERSION=v1.14.16 -ARG ANCHOR_VERSION=v0.27.0 +ARG SOLANA_VERSION=v1.16.27 +ARG ANCHOR_VERSION=v0.28.0 RUN apt-get update -y RUN apt-get upgrade -y From ff76c32b5e9f770d8c4c42f58b770dbbf5801252 Mon Sep 17 00:00:00 2001 From: GuidoDipietro Date: Tue, 17 Dec 2024 15:10:08 -0300 Subject: [PATCH 10/10] Anchor 0.30.1 Dockerfile --- anchor-30/Dockerfile | 27 ++++++++++++++++++++++++ Dockerfile => genopets-solana/Dockerfile | 0 2 files changed, 27 insertions(+) create mode 100644 anchor-30/Dockerfile rename Dockerfile => genopets-solana/Dockerfile (100%) diff --git a/anchor-30/Dockerfile b/anchor-30/Dockerfile new file mode 100644 index 0000000..bf5ff2f --- /dev/null +++ b/anchor-30/Dockerfile @@ -0,0 +1,27 @@ +FROM rust:1.82 + +ARG SOLANA_VERSION=v2.0.20 +ARG ANCHOR_VERSION=v0.30.1 + +RUN apt-get update -y +RUN apt-get upgrade -y +RUN apt-get install -y pkg-config build-essential libudev-dev clang +RUN rustup component add rustfmt clippy + +RUN sh -c "$(curl -sSfL https://release.anza.xyz/$SOLANA_VERSION/install)" +ENV PATH=/root/.local/share/solana/install/active_release/bin:$PATH + +RUN cargo install --git https://github.com/coral-xyz/anchor --tag $ANCHOR_VERSION anchor-cli --locked + +RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - +RUN apt-get install -y nodejs + +RUN npm install --global yarn + +COPY shell-exec.sh /bin/shell-exec +RUN chmod +x /bin/shell-exec + +EXPOSE 8080 +EXPOSE 9000 + +WORKDIR workspace/ diff --git a/Dockerfile b/genopets-solana/Dockerfile similarity index 100% rename from Dockerfile rename to genopets-solana/Dockerfile