9 lines
379 B
Bash
Executable File
9 lines
379 B
Bash
Executable File
#eval `ssh-agent -s`
|
|
#ssh-add
|
|
# info from https://medium.com/@tonistiigi/build-secrets-and-ssh-forwarding-in-docker-18-09-ae8161d066
|
|
export DOCKER_BUILDKIT=1
|
|
# docker secret create gogsserintywebsitepw -
|
|
read -p "enter git user:" GITUSER
|
|
read -s -p "enter git password:" GITPASSWD
|
|
docker build --progress=plain --build-arg GITUSER=${GITUSER} --build-arg GITPASSWD=${GITPASSWD} .
|