]>
git.ipfire.org Git - people/jschlag/pbs-docker.git/blob - src/pbs-web/build.sh
d0df2593ed1581cf9e5c8f5d6f99cf77f6d6b284
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-web Dockerimage
14 (cd $
(dirname -- "$(readlink -e -- "$BASH_SOURCE")") ||
exit
16 # check for all necessary files
18 CheckForFile
"setup-org.sh"
19 CheckForFile
"Dockerfile"
21 #create a work copy of setup.sh
22 cp setup-org.sh setup.sh
23 ### paramter for mariadb build
26 username
=jonatanschlag
27 tag
="${username}/${repo}:${dockertag}"
28 ### Build the docker image
29 docker build
--no-cache=true
-t "$tag" .
30 ### Tag the docker image
31 back
=$
(tag-image
"${username}/${repo}")
33 if [ "error" = "$back" ]; then
34 echo "Tagging was not successful"