diff --git a/monero/Dockerfile b/monero/Dockerfile deleted file mode 100644 index be2a361..0000000 --- a/monero/Dockerfile +++ /dev/null @@ -1,26 +0,0 @@ -FROM debian:bullseye-slim - -ARG ARCH -ENV VER v0.17.2.3 -ENV URL "https://downloads.getmonero.org/cli/monero-linux-${ARCH}-${VER}.tar.bz2" - -RUN apt-get update && \ - apt-get install -y curl bzip2 && \ - rm -rf /var/lib/apt/lists/* && \ - curl -o /root/monero.tar.bz2 "${URL}" && \ - bzip2 -d /root/monero.tar.bz2 && \ - tar -C /root -xf /root/monero.tar && \ - find /root -type f -executable -exec cp {} /usr/local/bin \; && \ - rm -r /root/monero* - -RUN groupadd --gid 10001 monero && \ - useradd \ - --uid 10000 \ - --gid 10001 \ - --shell /sbin/nologin \ - --create-home \ - --home-dir /var/lib/monero \ - monero - -USER monero -WORKDIR /var/lib/monero diff --git a/monero/Makefile b/monero/Makefile deleted file mode 100644 index 9d0890c..0000000 --- a/monero/Makefile +++ /dev/null @@ -1,23 +0,0 @@ -IMG_NAME = monero -REGISTRY=registry.monotremata.xyz:443 -IMG=$(REGISTRY)/$(IMG_NAME) - -.PHONY: build build-nc push - -hw=$(shell uname -m) -ifeq ($(hw), x86_64) - ARCH=x64 -else ifeq ($(hw), aarch64) - ARCH=armv8 -else - ARCH=$(hw) -endif - -build: Dockerfile - docker build -t $(IMG) --build-arg ARCH=$(ARCH) . - -push: build - docker image push $(IMG) - -build-nc: Dockerfile - docker build --no-cache -t $(IMG) --build-arg ARCH=$(ARCH) .