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: publish-generic publish-packager 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)
build-generic: podman push localhost/liliesh/franky-$(IMAGE):$(BUILD_TAG) registry.satecloud.com/liliesh/franky-$(IMAGE):latest
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)

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" ]

View file

@ -11,4 +11,4 @@ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
ENV PATH="/root/.cargo/bin:$PATH" ENV PATH="/root/.cargo/bin:$PATH"
CMD [ "/bin/bash" ] CMD [ "/bin/bash" ]