i2pd: add initial image
This commit is contained in:
parent
f7b3aa3099
commit
bf1db33bf9
12
i2pd/Dockerfile
Normal file
12
i2pd/Dockerfile
Normal file
@ -0,0 +1,12 @@
|
||||
FROM almalinux:9
|
||||
|
||||
ARG I2PD_VERSION
|
||||
ARG I2PD_BUILD
|
||||
|
||||
RUN dnf install -y epel-release dnf-plugins-core \
|
||||
&& dnf update -y \
|
||||
&& dnf config-manager --enable crb \
|
||||
&& dnf clean all \
|
||||
&& rm -rf /var/cache/yum
|
||||
|
||||
RUN dnf install -y https://github.com/PurpleI2P/i2pd/releases/download/${I2PD_VERSION}/i2pd-${I2PD_VERSION}-${I2PD_BUILD}.el9.x86_64.rpm
|
17
i2pd/Makefile
Normal file
17
i2pd/Makefile
Normal file
@ -0,0 +1,17 @@
|
||||
VERSION=2.56.0
|
||||
BUILD=1
|
||||
IMAGE=i2pd
|
||||
REGISTRY=gitea.geekhome.org/ghp
|
||||
|
||||
.PHONY: build push all
|
||||
|
||||
build:
|
||||
docker build $(NO_CACHE) \
|
||||
--build-arg I2PD_VERSION=$(VERSION) \
|
||||
--build-arg I2PD_BUILD=$(BUILD) \
|
||||
-t $(REGISTRY)/$(IMAGE):$(VERSION)-$(BUILD) .
|
||||
|
||||
push:
|
||||
docker push $(REGISTRY)/$(IMAGE):$(VERSION)-$(BUILD)
|
||||
|
||||
all: build push
|
Loading…
x
Reference in New Issue
Block a user