Version number added to docker images. (#196)

This commit is contained in:
Udith Indrakantha
2022-11-16 11:05:57 +05:30
committed by GitHub
parent 4b16b63b4f
commit bbc103fe36
4 changed files with 5 additions and 5 deletions

View File

@@ -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}'`);

View File

@@ -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 \

View File

@@ -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 \

View File

@@ -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 .
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 .