mirror of
https://git.wownero.com/lza_menace/docker-wownero.git
synced 2024-08-15 01:03:31 +00:00
bump to latest release
This commit is contained in:
parent
9ac50e1bba
commit
e100131b7d
4 changed files with 12 additions and 12 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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}; \
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue