From 3427fc2b267c0c2df28b96ce5b6fda4c167bb08e Mon Sep 17 00:00:00 2001 From: Liliesh Date: Tue, 16 Apr 2024 20:30:01 +0200 Subject: [PATCH] Added docker and makefile --- Dockerfile | 12 ++++++++++++ Makefile | 9 +++++++++ 2 files changed, 21 insertions(+) create mode 100644 Dockerfile create mode 100644 Makefile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..9f8c8ac --- /dev/null +++ b/Dockerfile @@ -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" ] \ No newline at end of file diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..d837f75 --- /dev/null +++ b/Makefile @@ -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 \ No newline at end of file