@ -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.1 .
RUN git clone https://git.wownero.com/wownero/wownero --depth=1 --branch=v0.9.3.1 .
RUN make -j2
@ -1,16 +1,24 @@
#!/bin/bash
set -ex
set -e
TAG="${1}"
BASE=$(echo ${TAG} | cut -d":" -f1)
FULL="${2}"
if [[ -z "${TAG}" ]]; then
echo "You must specify a container tag. ex: lalanza808/wownero:v0.9.2.1"
exit 1
fi
if [[ -z "${FULL}" ]]
then
echo -e "[+] Building container by fetching binaries"
docker build -t "${TAG}" -f dockerfiles/wownerod_nocompile .
else
echo -e "[+] Building container by compiling binaries"
docker build -t "${TAG}" .
docker tag "${TAG}" "${BASE}:latest"