mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 00:37:57 +00:00
eeb368ed9c
* add ghw and scripts for docker image deployment * debug * add permissions for content * fix path to the bin folder * add tags * rename env * fix path to docker file * make polkadot-parachain executable * fix typo * fix more typos * test * revert back use of working directory * mke bin executable in the artifacts folder * use cd instead of working directory * change path to cash * fix path to cash * change cache key * delete old flows * addressed PR comments * fix path * reorg docker files
14 lines
511 B
Bash
Executable File
14 lines
511 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Sample call:
|
|
# $0 /path/to/folder_with_staking-miner_binary
|
|
# This script replace the former dedicated staking-miner "injected" Dockerfile
|
|
# and shows how to use the generic binary_injected.dockerfile
|
|
|
|
PROJECT_ROOT=`git rev-parse --show-toplevel`
|
|
ENGINE=podman
|
|
|
|
echo "Building the staking-miner using the Builder image"
|
|
echo "PROJECT_ROOT=$PROJECT_ROOT"
|
|
$ENGINE build -t staking-miner -f "${PROJECT_ROOT}/docker/dockerfiles/staking-miner/staking-miner_builder.Dockerfile" "$PROJECT_ROOT"
|