From 5d4029c8b64f5f8162247e9ffd8eddd017526656 Mon Sep 17 00:00:00 2001 From: Liliesh Date: Tue, 16 Apr 2024 21:31:13 +0200 Subject: [PATCH] Fixed path --- Dockerfile | 2 ++ Makefile | 14 ++++++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9f8c8ac..3df4cf3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,4 +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" + CMD [ "/bin/bash" ] \ No newline at end of file diff --git a/Makefile b/Makefile index d837f75..270dbec 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,15 @@ -all: latest version +build: build-latest build-version -latest: +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 -version: - podman build -t liliesh/franky:9.3 . +publish-version: podman push localhost/liliesh/franky:9.3 registry.satecloud.com/liliesh/franky:9.3 \ No newline at end of file