Compare commits
10 commits
2e1c38ec38
...
8caca309b2
Author | SHA1 | Date | |
---|---|---|---|
8caca309b2 | |||
7f9bba6727 | |||
5c2deb3ac9 | |||
2c2a8b392e | |||
7cbf2a4c3c | |||
90cca67c93 | |||
3303d62959 | |||
01d30491ac | |||
5d4029c8b6 | |||
3427fc2b26 |
5 changed files with 47 additions and 0 deletions
14
Makefile
Normal file
14
Makefile
Normal file
|
@ -0,0 +1,14 @@
|
|||
BUILD_TAG = $(shell date +'%Y.%m.%d')
|
||||
IMAGE ?= packager
|
||||
REGISTRY=registry.pinkhaj.world
|
||||
ENGINE=podman
|
||||
|
||||
build:
|
||||
echo "Building franky-$(IMAGE) with tag $(BUILD_TAG)"
|
||||
$(ENGINE) build -t liliesh/franky-$(IMAGE):$(BUILD_TAG) $(IMAGE)/.
|
||||
$(ENGINE) image tag liliesh/franky-$(IMAGE):$(BUILD_TAG) liliesh/franky-$(IMAGE):latest
|
||||
|
||||
publish:
|
||||
$(ENGINE) build -t liliesh/franky-$(IMAGE):$(BUILD_TAG) $(IMAGE)/.
|
||||
$(ENGINE) push localhost/liliesh/franky-$(IMAGE):$(BUILD_TAG) $(REGISTRY)/liliesh/franky-$(IMAGE):$(BUILD_TAG)
|
||||
$(ENGINE) push localhost/liliesh/franky-$(IMAGE):$(BUILD_TAG) $(REGISTRY)/liliesh/franky-$(IMAGE):latest
|
6
commander/Dockerfile
Normal file
6
commander/Dockerfile
Normal file
|
@ -0,0 +1,6 @@
|
|||
FROM alpine:3.20.1
|
||||
|
||||
# Install base
|
||||
RUN apk add --no-cache --upgrade grep
|
||||
RUN apk add --no-cache bash git openssh
|
||||
CMD [ "/bin/bash" ]
|
5
docker/Dockerfile
Normal file
5
docker/Dockerfile
Normal file
|
@ -0,0 +1,5 @@
|
|||
FROM alpine:3.20.1
|
||||
|
||||
# Install base
|
||||
RUN apk add --no-cache docker docker-compose bash
|
||||
CMD [ "/bin/bash" ]
|
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" ]
|
14
rust/Dockerfile
Normal file
14
rust/Dockerfile
Normal file
|
@ -0,0 +1,14 @@
|
|||
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
|
||||
|
||||
ENV PATH="/root/.cargo/bin:$PATH"
|
||||
|
||||
CMD [ "/bin/bash" ]
|
Loading…
Add table
Add a link
Reference in a new issue