Stuff
This commit is contained in:
parent
5d4029c8b6
commit
01d30491ac
3 changed files with 23 additions and 11 deletions
|
@ -9,6 +9,6 @@ RUN dnf install -y dpkg
|
||||||
RUN dnf install -y rust cargo
|
RUN dnf install -y rust cargo
|
||||||
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||||
|
|
||||||
ENV PATH="$HOME/.cargo/bin:$PATH"
|
ENV PATH="/root/.cargo/bin:$PATH"
|
||||||
|
|
||||||
CMD [ "/bin/bash" ]
|
CMD [ "/bin/bash" ]
|
20
Makefile
20
Makefile
|
@ -1,15 +1,19 @@
|
||||||
|
BUILD_TAG ?= latest
|
||||||
|
|
||||||
|
|
||||||
build: build-latest build-version
|
build: build-latest build-version
|
||||||
|
publish: publish-generic publish-packager
|
||||||
|
|
||||||
build-latest:
|
build-generic:
|
||||||
podman build -t liliesh/franky:latest .
|
podman build -t liliesh/franky:$(BUILD_TAG) .
|
||||||
|
|
||||||
|
build-packager:
|
||||||
|
podman build -t liliesh/franky-packager:$(BUILD_TAG) packager/.
|
||||||
|
|
||||||
build-version:
|
|
||||||
podman build -t liliesh/franky:9.3 .
|
|
||||||
|
|
||||||
publish: publish-latest publish-version
|
publish: publish-latest publish-version
|
||||||
publish-latest:
|
publish-generic:
|
||||||
podman push localhost/liliesh/franky:latest registry.satecloud.com/liliesh/franky:latest
|
podman push localhost/liliesh/franky:$(BUILD_TAG) registry.satecloud.com/liliesh/franky:$(BUILD_TAG)
|
||||||
|
|
||||||
publish-version:
|
publish-packager:
|
||||||
podman push localhost/liliesh/franky:9.3 registry.satecloud.com/liliesh/franky:9.3
|
podman push localhost/liliesh/franky-packager:$(BUILD_TAG) registry.satecloud.com/liliesh/franky-packager:$(BUILD_TAG)
|
||||||
|
|
8
packager/Dockerfile
Normal file
8
packager/Dockerfile
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
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
|
||||||
|
|
||||||
|
CMD [ "/bin/bash" ]
|
Loading…
Add table
Add a link
Reference in a new issue