From e100131b7d385b7b6154ae8e0a102b6ba32aa33a Mon Sep 17 00:00:00 2001 From: lza_menace Date: Tue, 19 Jan 2021 00:39:59 -0800 Subject: [PATCH] bump to latest release --- wownero/Dockerfile | 2 +- wownero/Makefile | 4 ++-- wownero/dockerfiles/wownerod_nocompile | 14 +++++++------- wownero/release.sh | 4 ++-- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/wownero/Dockerfile b/wownero/Dockerfile index 9707b4d..90d3dbf 100644 --- a/wownero/Dockerfile +++ b/wownero/Dockerfile @@ -8,7 +8,7 @@ RUN apt-get update && apt-get install -y \ build-essential cmake pkg-config libboost-all-dev \ libssl-dev libzmq3-dev libunbound-dev libsodium-dev libpgm-dev git -RUN git clone https://git.wownero.com/wownero/wownero --depth=1 --branch=v0.9.2.0 . +RUN git clone https://git.wownero.com/wownero/wownero --depth=1 --branch=v0.9.2.1 . RUN make -j2 diff --git a/wownero/Makefile b/wownero/Makefile index 33e0890..64af6c0 100644 --- a/wownero/Makefile +++ b/wownero/Makefile @@ -10,10 +10,10 @@ up: ## Build and run the required containers by fetching binaries docker-compose -f docker-compose.yaml up -d build: ## Build the required containers by fetching binaries - docker-compose -f docker-compose.yaml build --no-cache + docker-compose -f docker-compose.yaml build down: ## Stop the containers docker-compose -f docker-compose.yaml down logs: ## Get logs from the containers - docker-compose -f docker-compose.yaml logs -f + docker-compose -f docker-compose.yaml logs -f wownerod diff --git a/wownero/dockerfiles/wownerod_nocompile b/wownero/dockerfiles/wownerod_nocompile index b05e85f..a6fc833 100644 --- a/wownero/dockerfiles/wownerod_nocompile +++ b/wownero/dockerfiles/wownerod_nocompile @@ -1,12 +1,5 @@ FROM ubuntu:20.04 -ENV WOWNERO_HASH 44d654d8ccff8d98dcecc778873345c42d069dfa12e8d83acc9d787de7920387 -ENV WOWNERO_DL_URL https://git.wownero.com/attachments/6b7f2b29-dd0a-47d0-93ae-387f1a4e4adb -ENV WOWNERO_DL_FILE wownero.tar.bz2 -ENV WOWNERO_SUMS_FILE sha256sums - -WORKDIR /opt/wownero - # Update system and install dependencies # Download Wownero binaries from Gitea # Confirm hashes match @@ -17,6 +10,13 @@ RUN apt-get update \ && apt-get upgrade -y \ && apt-get install -y tar wget +ENV WOWNERO_HASH 4de46b4ccd70e5e473bd766f9456f1182080dfd1593b9f312d73345e1fe8a484 +ENV WOWNERO_DL_URL https://git.wownero.com/attachments/673d0e11-4be7-4318-a7ab-42050b27f5f3 +ENV WOWNERO_DL_FILE wownero.tar.bz2 +ENV WOWNERO_SUMS_FILE sha256sums + +WORKDIR /opt/wownero + RUN wget -qO ${WOWNERO_DL_FILE} ${WOWNERO_DL_URL} \ && echo "${WOWNERO_HASH} ${WOWNERO_DL_FILE}" > ${WOWNERO_SUMS_FILE} \ && sha256sum -c ${WOWNERO_SUMS_FILE}; \ diff --git a/wownero/release.sh b/wownero/release.sh index 170543b..3f6f992 100755 --- a/wownero/release.sh +++ b/wownero/release.sh @@ -6,11 +6,11 @@ TAG="${1}" BASE=$(echo ${TAG} | cut -d":" -f1) if [[ -z "${TAG}" ]]; then - echo "You must specify a container tag. ex: lalanza808/wownero:v0.9.2.0" + echo "You must specify a container tag. ex: lalanza808/wownero:v0.9.2.1" exit 1 fi -docker build -t "${TAG}" . +docker build -t "${TAG}" -f dockerfiles/wownerod_nocompile . docker tag "${TAG}" "${BASE}:latest"