rke2/scripts/dev-shell-build

14 lines
256 B
Bash
Executable File

#!/usr/bin/env bash
set -ex
cd $(dirname $0)/..
source ./scripts/version.sh
if [ ! -d build/images ]; then
./scripts/build-images
fi
# build the dev shell image
DOCKER_BUILDKIT=${DOCKER_BUILDKIT:-1} docker image build -t ${PROG}-dev --target shell .