Updated franky
This commit is contained in:
parent
01d30491ac
commit
3303d62959
3 changed files with 16 additions and 18 deletions
27
Makefile
27
Makefile
|
@ -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
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" ]
|
|
@ -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" ]
|
Loading…
Add table
Add a link
Reference in a new issue