Skip to content

Commit 5e291ba

Browse files
authored
Update Dockerfiles
1 parent 6da5c6f commit 5e291ba

11 files changed

+143
-0
lines changed

docker/v2.0.7.Dockerfile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
FROM --platform=linux/amd64 rust@sha256:653bd24b9a8f9800c67df55fea5637a97152153fd744a4ef78dd41f7ddc40144
2+
3+
RUN apt-get update && apt-get install -qy git gnutls-bin
4+
RUN sh -c "$(curl -sSfL https://release.anza.xyz/v2.0.7/install)"
5+
ENV PATH="/root/.local/share/solana/install/active_release/bin:$PATH"
6+
# Call cargo build-sbf to trigger installation of associated platform tools
7+
RUN cargo init temp --edition 2021 && \
8+
cd temp && \
9+
cargo build-sbf && \
10+
rm -rf temp
11+
WORKDIR /build
12+
13+
CMD /bin/bash

docker/v2.3.12.Dockerfile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
FROM --platform=linux/amd64 rust@sha256:878ca0e8df1305dcbbfffac5bb908cce6a4bc5f6b629c518e7112645ee8851d4
2+
3+
RUN apt-get update && apt-get install -qy git gnutls-bin
4+
RUN sh -c "$(curl -sSfL https://release.anza.xyz/v2.3.12/install)"
5+
ENV PATH="/root/.local/share/solana/install/active_release/bin:$PATH"
6+
# Call cargo build-sbf to trigger installation of associated platform tools
7+
RUN cargo init temp --edition 2021 && \
8+
cd temp && \
9+
cargo build-sbf && \
10+
rm -rf temp
11+
WORKDIR /build
12+
13+
CMD /bin/bash

docker/v2.3.13.Dockerfile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
FROM --platform=linux/amd64 rust@sha256:878ca0e8df1305dcbbfffac5bb908cce6a4bc5f6b629c518e7112645ee8851d4
2+
3+
RUN apt-get update && apt-get install -qy git gnutls-bin
4+
RUN sh -c "$(curl -sSfL https://release.anza.xyz/v2.3.13/install)"
5+
ENV PATH="/root/.local/share/solana/install/active_release/bin:$PATH"
6+
# Call cargo build-sbf to trigger installation of associated platform tools
7+
RUN cargo init temp --edition 2021 && \
8+
cd temp && \
9+
cargo build-sbf && \
10+
rm -rf temp
11+
WORKDIR /build
12+
13+
CMD /bin/bash

docker/v3.0.0.Dockerfile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
FROM --platform=linux/amd64 rust@sha256:878ca0e8df1305dcbbfffac5bb908cce6a4bc5f6b629c518e7112645ee8851d4
2+
3+
RUN apt-get update && apt-get install -qy git gnutls-bin
4+
RUN sh -c "$(curl -sSfL https://release.anza.xyz/v3.0.0/install)"
5+
ENV PATH="/root/.local/share/solana/install/active_release/bin:$PATH"
6+
# Call cargo build-sbf to trigger installation of associated platform tools
7+
RUN cargo init temp --edition 2021 && \
8+
cd temp && \
9+
cargo build-sbf && \
10+
rm -rf temp
11+
WORKDIR /build
12+
13+
CMD /bin/bash

docker/v3.0.1.Dockerfile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
FROM --platform=linux/amd64 rust@sha256:878ca0e8df1305dcbbfffac5bb908cce6a4bc5f6b629c518e7112645ee8851d4
2+
3+
RUN apt-get update && apt-get install -qy git gnutls-bin
4+
RUN sh -c "$(curl -sSfL https://release.anza.xyz/v3.0.1/install)"
5+
ENV PATH="/root/.local/share/solana/install/active_release/bin:$PATH"
6+
# Call cargo build-sbf to trigger installation of associated platform tools
7+
RUN cargo init temp --edition 2021 && \
8+
cd temp && \
9+
cargo build-sbf && \
10+
rm -rf temp
11+
WORKDIR /build
12+
13+
CMD /bin/bash

docker/v3.0.2.Dockerfile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
FROM --platform=linux/amd64 rust@sha256:878ca0e8df1305dcbbfffac5bb908cce6a4bc5f6b629c518e7112645ee8851d4
2+
3+
RUN apt-get update && apt-get install -qy git gnutls-bin
4+
RUN sh -c "$(curl -sSfL https://release.anza.xyz/v3.0.2/install)"
5+
ENV PATH="/root/.local/share/solana/install/active_release/bin:$PATH"
6+
# Call cargo build-sbf to trigger installation of associated platform tools
7+
RUN cargo init temp --edition 2021 && \
8+
cd temp && \
9+
cargo build-sbf && \
10+
rm -rf temp
11+
WORKDIR /build
12+
13+
CMD /bin/bash

docker/v3.0.3.Dockerfile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
FROM --platform=linux/amd64 rust@sha256:878ca0e8df1305dcbbfffac5bb908cce6a4bc5f6b629c518e7112645ee8851d4
2+
3+
RUN apt-get update && apt-get install -qy git gnutls-bin
4+
RUN sh -c "$(curl -sSfL https://release.anza.xyz/v3.0.3/install)"
5+
ENV PATH="/root/.local/share/solana/install/active_release/bin:$PATH"
6+
# Call cargo build-sbf to trigger installation of associated platform tools
7+
RUN cargo init temp --edition 2021 && \
8+
cd temp && \
9+
cargo build-sbf && \
10+
rm -rf temp
11+
WORKDIR /build
12+
13+
CMD /bin/bash

docker/v3.0.4.Dockerfile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
FROM --platform=linux/amd64 rust@sha256:878ca0e8df1305dcbbfffac5bb908cce6a4bc5f6b629c518e7112645ee8851d4
2+
3+
RUN apt-get update && apt-get install -qy git gnutls-bin
4+
RUN sh -c "$(curl -sSfL https://release.anza.xyz/v3.0.4/install)"
5+
ENV PATH="/root/.local/share/solana/install/active_release/bin:$PATH"
6+
# Call cargo build-sbf to trigger installation of associated platform tools
7+
RUN cargo init temp --edition 2021 && \
8+
cd temp && \
9+
cargo build-sbf && \
10+
rm -rf temp
11+
WORKDIR /build
12+
13+
CMD /bin/bash

docker/v3.0.5.Dockerfile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
FROM --platform=linux/amd64 rust@sha256:878ca0e8df1305dcbbfffac5bb908cce6a4bc5f6b629c518e7112645ee8851d4
2+
3+
RUN apt-get update && apt-get install -qy git gnutls-bin
4+
RUN sh -c "$(curl -sSfL https://release.anza.xyz/v3.0.5/install)"
5+
ENV PATH="/root/.local/share/solana/install/active_release/bin:$PATH"
6+
# Call cargo build-sbf to trigger installation of associated platform tools
7+
RUN cargo init temp --edition 2021 && \
8+
cd temp && \
9+
cargo build-sbf && \
10+
rm -rf temp
11+
WORKDIR /build
12+
13+
CMD /bin/bash

docker/v3.0.6.Dockerfile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
FROM --platform=linux/amd64 rust@sha256:878ca0e8df1305dcbbfffac5bb908cce6a4bc5f6b629c518e7112645ee8851d4
2+
3+
RUN apt-get update && apt-get install -qy git gnutls-bin
4+
RUN sh -c "$(curl -sSfL https://release.anza.xyz/v3.0.6/install)"
5+
ENV PATH="/root/.local/share/solana/install/active_release/bin:$PATH"
6+
# Call cargo build-sbf to trigger installation of associated platform tools
7+
RUN cargo init temp --edition 2021 && \
8+
cd temp && \
9+
cargo build-sbf && \
10+
rm -rf temp
11+
WORKDIR /build
12+
13+
CMD /bin/bash

0 commit comments

Comments
 (0)