From bbc103fe3610737fd87cfce075883f9ceef4cabf Mon Sep 17 00:00:00 2001 From: Udith Indrakantha <45740208+Udith-Gayan@users.noreply.github.com> Date: Wed, 16 Nov 2022 11:05:57 +0530 Subject: [PATCH] Version number added to docker images. (#196) --- examples/crawler/app.js | 2 +- test/docker/Dockerfile.ubt.20.04 | 2 +- test/docker/Dockerfile.ubt.20.04-njs | 2 +- test/docker/build.sh | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/crawler/app.js b/examples/crawler/app.js index 6179ecd..57b180e 100644 --- a/examples/crawler/app.js +++ b/examples/crawler/app.js @@ -52,7 +52,7 @@ async function acquireLease(tenant, host, instanceId, contractId, ownerPubKey) { container_name: instanceId, owner_pubkey: ownerPubKey, contract_id: contractId, - image: "hp.latest-ubt.20.04-njs.16", + image: "hp.0.6.0-ubt.20.04-njs.16", config: {} }, { timeout: 60000 }); console.log(`Tenant received instance '${result.instance.name}'`); diff --git a/test/docker/Dockerfile.ubt.20.04 b/test/docker/Dockerfile.ubt.20.04 index 62d721d..02fba90 100644 --- a/test/docker/Dockerfile.ubt.20.04 +++ b/test/docker/Dockerfile.ubt.20.04 @@ -1,4 +1,4 @@ -FROM evernodedev/hotpocket:latest-ubt.20.04 +FROM evernodedev/hotpocket:0.6.0-ubt.20.04 RUN apt-get update \ && apt-get install --no-install-recommends -y unzip jq \ diff --git a/test/docker/Dockerfile.ubt.20.04-njs b/test/docker/Dockerfile.ubt.20.04-njs index 1361d70..b451b4e 100644 --- a/test/docker/Dockerfile.ubt.20.04-njs +++ b/test/docker/Dockerfile.ubt.20.04-njs @@ -1,4 +1,4 @@ -FROM evernodedev/hotpocket:latest-ubt.20.04-njs.16 +FROM evernodedev/hotpocket:0.6.0-ubt.20.04-njs.16 RUN apt-get update \ && apt-get install --no-install-recommends -y unzip jq \ diff --git a/test/docker/build.sh b/test/docker/build.sh index f8aca07..9210ac9 100755 --- a/test/docker/build.sh +++ b/test/docker/build.sh @@ -2,5 +2,5 @@ img=evernodedev/sashimono -docker build -t $img:hp.latest-ubt.20.04 -f ./Dockerfile.ubt.20.04 . -docker build -t $img:hp.latest-ubt.20.04-njs.16 -f ./Dockerfile.ubt.20.04-njs . \ No newline at end of file +docker build -t $img:hp.latest-ubt.20.04 -t $img:hp.0.6.0-ubt.20.04 -f ./Dockerfile.ubt.20.04 . +docker build -t $img:hp.latest-ubt.20.04-njs.16 -t $img:hp.0.6.0-ubt.20.04-njs.16 -f ./Dockerfile.ubt.20.04-njs . \ No newline at end of file