This commit is contained in:
Liliesh 2024-04-18 20:23:26 +02:00
parent 5d4029c8b6
commit 01d30491ac
Signed by: liliesh
GPG key ID: 680387646C7BAE8E
3 changed files with 23 additions and 11 deletions

View file

@ -9,6 +9,6 @@ RUN dnf install -y dpkg
RUN dnf install -y rust cargo
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
ENV PATH="$HOME/.cargo/bin:$PATH"
ENV PATH="/root/.cargo/bin:$PATH"
CMD [ "/bin/bash" ]

View file

@ -1,15 +1,19 @@
BUILD_TAG ?= latest
build: build-latest build-version
publish: publish-generic publish-packager
build-generic:
podman build -t liliesh/franky:$(BUILD_TAG) .
build-packager:
podman build -t liliesh/franky-packager:$(BUILD_TAG) packager/.
build-latest:
podman build -t liliesh/franky:latest .
build-version:
podman build -t liliesh/franky:9.3 .
publish: publish-latest publish-version
publish-latest:
podman push localhost/liliesh/franky:latest registry.satecloud.com/liliesh/franky:latest
publish-generic:
podman push localhost/liliesh/franky:$(BUILD_TAG) registry.satecloud.com/liliesh/franky:$(BUILD_TAG)
publish-version:
podman push localhost/liliesh/franky:9.3 registry.satecloud.com/liliesh/franky:9.3
publish-packager:
podman push localhost/liliesh/franky-packager:$(BUILD_TAG) registry.satecloud.com/liliesh/franky-packager:$(BUILD_TAG)

8
packager/Dockerfile Normal file
View file

@ -0,0 +1,8 @@
FROM rockylinux:9.3
# Install base
RUN dnf install -y rpmdevtools rpmlint epel-release
RUN dnf group install -y "Development Tools"
RUN dnf install -y dpkg
CMD [ "/bin/bash" ]