mirror of
https://mau.dev/andreijiroh-dev/website.git
synced 2024-11-12 20:32:26 +00:00
13 lines
305 B
Bash
13 lines
305 B
Bash
|
#!/usr/bin/env bash
|
||
|
set -xe
|
||
|
|
||
|
ROOTDIR=$(git rev-parse --show-toplevel)
|
||
|
CONTEXT=$ROOTDIR/docker
|
||
|
DOCKERFILE=$CONTEXT/Dockerfile
|
||
|
TAG=${IMAGE_TAG:-"quay.io/ajhalili2006/mkdocs-material-build-ci:localdev"}
|
||
|
|
||
|
DOCKER_BUILDKIT=${DOCKER_BUILDKIT:-"0"} \
|
||
|
docker build \
|
||
|
-t $TAG \
|
||
|
-f "$DOCKERFILE" \
|
||
|
"$CONTEXT"
|