Set up correct test for build image

This commit is contained in:
erik 2022-12-09 10:49:57 +01:00
parent ee9e11eb04
commit 11d12bc7d0
3 changed files with 6 additions and 7 deletions

View file

@ -18,8 +18,8 @@ newHash=$( get-hash-data )
if [[ $currentHash == $newHash ]] if [[ $currentHash == $newHash ]]
then then
echo "Nothing to do" echo "Nothing to do"
else else
write-hash-data $currentHash $hashfilename echo $currentHash > $HASHFILEDIR/$hashfilename
echo "Downloading website data" echo "Downloading website data"
get-website-data $filename get-website-data $filename
unzip-website-data $filename unzip-website-data $filename

View file

@ -1,4 +1,4 @@
FROM clojure:lein FROM c4k-website-build
RUN apt update RUN apt update
RUN apt -yqq --no-install-recommends --yes install curl default-jre-headless RUN apt -yqq --no-install-recommends --yes install curl default-jre-headless

View file

@ -1,5 +1,4 @@
{:file [{:path "/usr/local/bin/install.sh" :mod "700"} {:file [{:path "/entrypoint.sh" :mod "700"}
{:path "/usr/local/bin/functions.sh" :mod "700"} {:path "/usr/local/bin/functions.sh" :mod "700"}
{:path "/usr/local/bin/exclude.pattern" :mod "700"} {:path "/etc/exclude.pattern" :mod "700"}
{:path "/usr/local/bin/project.clj" :mod "700"} {:path "/etc/lein/project.clj" :mod "700"}]}
{:path "/entrypoint.sh" :mod "700"}]}