devuan-live-sdk-docker/build_with_submodules.sh

46 lines
1.1 KiB
Bash

#\docker build -t markm/devuan-live-sdk:latest -t markm/devuan-live-sdk -f ./Dockerfile-e17 .
# Gitlab credentials:
# GITLAB_USER
# GITLAB_URL
# Gitlab personal repo
# TEMPLATE_NAME
# BLEND_NAME
# Local git credentials
# GIT_EMAIL_NAME
# GIT_EMAIL_URL
# GIT_NAME
# experimental: --squash \
#--ssh default=${SSH_AUTH_SOCK} \
#--ssh default=/tmp/ssh-8l3EayCMOhTH/agent.15125 \
#--network host \
#--no-cache \
#--progress=plain \
echo "ssh auth sock: ${SSH_AUTH_SOCK}"
docker build \
--squash \
--progress=plain \
--no-cache \
--ssh default \
--build-arg GITLAB_USER="cyteen" \
--build-arg GITLAB_URL="git.ring-zero.co.uk" \
--build-arg GITLAB_PORT="10022" \
--build-arg APT_MIRROR="https://pkgmaster.devuan.org/merged" \
--build-arg TEMPLATE_NAME="devuan-beowulf-live-e17" \
--build-arg RELEASE="beowulf" \
--build-arg BLEND_NAME="live-zfs-e17" \
--build-arg BLEND_VERS="3.0-test-$(date +%Y-%m-%d)" \
--build-arg GIT_EMAIL_NAME="cyteen" \
--build-arg GIT_EMAIL_URL="ring-zero.co.uk" \
--build-arg GIT_NAME="Cyteen May" \
-t markm/devuan-live-sdk_sm:latest \
-t markm/devuan-live-sdk_sm \
-f ./Dockerfile-submodule-e17 \
.