Added docker and makefile

This commit is contained in:
Liliesh 2024-04-16 20:30:01 +02:00
parent 2e1c38ec38
commit 3427fc2b26
Signed by: liliesh
GPG key ID: 680387646C7BAE8E
2 changed files with 21 additions and 0 deletions

12
Dockerfile Normal file
View file

@ -0,0 +1,12 @@
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
# Install lang specifics
RUN dnf install -y rust cargo
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
CMD [ "/bin/bash" ]

9
Makefile Normal file
View file

@ -0,0 +1,9 @@
all: latest version
latest:
podman build -t liliesh/franky:latest .
podman push localhost/liliesh/franky:latest registry.satecloud.com/liliesh/franky:latest
version:
podman build -t liliesh/franky:9.3 .
podman push localhost/liliesh/franky:9.3 registry.satecloud.com/liliesh/franky:9.3