]>
git.ipfire.org Git - people/jschlag/pbs-docker.git/blob - src/pbs-hub/build.sh
2 .
/usr
/lib
/docker-shell-scripts-lib
/tag.sh
3 .
/usr
/lib
/docker-shell-scripts-lib
/get-id.sh
4 .
/usr
/lib
/docker-shell-scripts-lib
/preparation.sh
5 .
/usr
/lib
/docker-shell-scripts-lib
/logging.sh
6 .
/usr
/lib
/docker-shell-scripts-lib
/install.sh
9 ### Build the pbs-hub Dockerimage
14 (cd $
(dirname -- "$(readlink -e -- "$BASH_SOURCE")") ||
exit
16 # check for all necessary files
18 CheckForFile
"Dockerfile"
20 ### paramter for mariadb build
23 username
=jonatanschlag
24 tag
="${username}/${repo}:${dockertag}"
25 ### Build the docker image
26 docker build
--no-cache=true
-t "$tag" .
27 ### Tag the docker image
28 back
=$
(tag-image
"${username}/${repo}")
30 if [ "error" = "$back" ]; then
31 echo "Tagging was not successful"