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