Skip to content

Commit

Permalink
fix Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
segfaultdoc committed Nov 7, 2023
1 parent f3f5f95 commit 0a88ec5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile:1.4.0
FROM rust:1.66.0-slim-bullseye as builder
FROM rust:1.72.1-slim-bullseye as builder

RUN set -x \
&& apt-get -qq update \
Expand All @@ -13,11 +13,11 @@ RUN set -x \
zlib1g-dev \
curl

RUN sh -c "$(curl -sSfL https://release.solana.com/v1.14.17/install)"
RUN sh -c "$(curl -sSfL https://release.solana.com/v1.16.17/install)"

ENV PATH="/root/.local/share/solana/install/active_release/bin:$PATH"

RUN cargo install --git https://github.com/coral-xyz/anchor --tag v0.27.0 anchor-cli --locked
RUN cargo install --git https://github.com/coral-xyz/anchor --tag v0.28.0 anchor-cli --locked

WORKDIR /jito-programs
COPY . .
Expand Down

0 comments on commit 0a88ec5

Please sign in to comment.