removed unused images

main
Ricard Illa 2022-08-16 11:50:01 +02:00
parent 23020b8398
commit b26d0d8b71
No known key found for this signature in database
GPG Key ID: F69A672B72E54902
2 changed files with 0 additions and 49 deletions

View File

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

View File

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