Skip to content

Commit 64124e2

Browse files
authored
Merge pull request #722 from hyperweb-io/anmol/add-solana-docker
docker: add solana to docker support of starship
2 parents 4b25d66 + 99f77b7 commit 64124e2

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
ARG BASE_IMAGE
2+
ARG VERSION
3+
FROM ${BASE_IMAGE}:${VERSION}
4+
5+
LABEL org.opencontainers.image.source="https://github.com/hyperweb-io/starship"
6+
7+
# Set up dependencies
8+
ENV PACKAGES curl make bash jq sed
9+
10+
# Install minimum necessary dependencies
11+
RUN apt-get update --yes && \
12+
apt-get install $PACKAGES --no-install-recommends --yes && \
13+
apt-get clean && \
14+
rm -rf /var/lib/apt/lists/*
15+
16+
WORKDIR /root
17+
18+
ARG VERSION
19+
20+
# Verify installation
21+
RUN solana --version

starship/docker/chains/versions.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,11 @@ chains:
151151
file: Dockerfile.xpla
152152
tags:
153153
- main
154+
- name: solana
155+
base: solanalabs/solana
156+
file: Dockerfile.solana
157+
tags:
158+
- v1.18.26
154159
- name: ethereum/client-go
155160
base: ethereum/client-go
156161
file: Dockerfile.base

0 commit comments

Comments
 (0)