Updated franky

This commit is contained in:
Liliesh 2024-06-28 19:26:15 +02:00
parent 01d30491ac
commit 3303d62959
Signed by: liliesh
GPG key ID: 680387646C7BAE8E
3 changed files with 16 additions and 18 deletions

View file

@ -1,19 +1,12 @@
BUILD_TAG ?= latest
BUILD_TAG = $(shell date +'%Y.%m.%d')
IMAGE ?= packager
build:
echo "Building franky-$(IMAGE) with tag $(BUILD_TAG)"
podman build -t liliesh/franky-$(IMAGE):$(BUILD_TAG) $(IMAGE)/.
podman image tag liliesh/franky-$(IMAGE):$(BUILD_TAG) liliesh/franky-$(IMAGE):latest
build: build-latest build-version
publish: publish-generic publish-packager
build-generic:
podman build -t liliesh/franky:$(BUILD_TAG) .
build-packager:
podman build -t liliesh/franky-packager:$(BUILD_TAG) packager/.
publish: publish-latest publish-version
publish-generic:
podman push localhost/liliesh/franky:$(BUILD_TAG) registry.satecloud.com/liliesh/franky:$(BUILD_TAG)
publish-packager:
podman push localhost/liliesh/franky-packager:$(BUILD_TAG) registry.satecloud.com/liliesh/franky-packager:$(BUILD_TAG)
publish:
podman build -t liliesh/franky-$(IMAGE):$(BUILD_TAG) $(IMAGE)/.
podman push localhost/liliesh/franky-$(IMAGE):$(BUILD_TAG) registry.satecloud.com/liliesh/franky-$(IMAGE):$(BUILD_TAG)
podman push localhost/liliesh/franky-$(IMAGE):$(BUILD_TAG) registry.satecloud.com/liliesh/franky-$(IMAGE):latest

5
docker/Dockerfile Normal file
View file

@ -0,0 +1,5 @@
FROM alpine:3.20.1
# Install base
RUN apk add --no-cache docker docker-compose bash
CMD [ "/bin/bash" ]