Package solana as a snap

This commit is contained in:
Michael Vines
2018-06-18 13:45:53 -07:00
parent 8ebc5c6b07
commit 9040d00110
6 changed files with 79 additions and 3 deletions

View File

@@ -19,7 +19,12 @@ fi
docker pull "$IMAGE"
shift
ARGS=(--workdir /solana --volume "$PWD:/solana" --rm)
ARGS=(
--workdir /solana
--volume "$PWD:/solana"
--env "HOME=/solana"
--rm
)
ARGS+=(--env "CARGO_HOME=/solana/.cargo")
@@ -35,6 +40,7 @@ ARGS+=(
--env BUILDKITE_TAG
--env CODECOV_TOKEN
--env CRATES_IO_TOKEN
--env SNAPCRAFT_CREDENTIALS_KEY
)
set -x