Added docker and makefile
This commit is contained in:
parent
2e1c38ec38
commit
3427fc2b26
2 changed files with 21 additions and 0 deletions
12
Dockerfile
Normal file
12
Dockerfile
Normal 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
9
Makefile
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue