[b9e282]: / internal / scripts / build_dev_image.sh

Download this file

19 lines (15 with data), 475 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env bash
set -euo pipefail
COMMIT=$(git rev-parse HEAD)
DATE=$(date --iso-8601=seconds -u)
set -x
DOCKER_BUILDKIT=1 docker buildx build \
-t "nvcr.io/nvidian/cvai_bnmo_trng/bionemo:dev-bionemo2-${COMMIT}" \
--target="development" \
--load \
--cache-from nvcr.io/nvidia/clara/bionemo-framework:nightly \
--cache-to type=inline \
--label com.nvidia.bionemo.git_sha=${COMMIT} \
--label com.nvidia.bionemo.created_at=${DATE} \
-f ./Dockerfile \
.