feat: init
This commit is contained in:
commit
2a9fb62d0b
3 changed files with 32 additions and 0 deletions
2
.dockerignore
Normal file
2
.dockerignore
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
Dockerfile
|
||||||
|
Makefile
|
||||||
15
Dockerfile
Normal file
15
Dockerfile
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
FROM docker.io/alpine:3.23@sha256:865b95f46d98cf867a156fe4a135ad3fe50d2056aa3f25ed31662dff6da4eb62
|
||||||
|
|
||||||
|
RUN apk add --no-cache \
|
||||||
|
coreutils \
|
||||||
|
bash \
|
||||||
|
gettext \
|
||||||
|
ca-certificates \
|
||||||
|
curl \
|
||||||
|
jq \
|
||||||
|
yq \
|
||||||
|
wget \
|
||||||
|
openssl \
|
||||||
|
kubectl
|
||||||
|
|
||||||
|
CMD ["/bin/bash"]
|
||||||
15
Makefile
Normal file
15
Makefile
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
NAME := init
|
||||||
|
|
||||||
|
.PHONY: image push_binted
|
||||||
|
|
||||||
|
image:
|
||||||
|
@podman build -t "$(NAME)" -f - < Dockerfile
|
||||||
|
|
||||||
|
push_binted: image
|
||||||
|
@TAG="$(TAG)"; \
|
||||||
|
repository="cr.binted.boats/binted"; \
|
||||||
|
name="$(NAME)"; \
|
||||||
|
tag="$${TAG:-$$(date +"%Y%m%d%H%M%S")}"; \
|
||||||
|
full_name="$$repository/$$name:$$tag"; \
|
||||||
|
podman tag "$(NAME):latest" "$$full_name"; \
|
||||||
|
podman push "$$full_name"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue