2020-12-23 17:55:00 +00:00
|
|
|
|
2020-12-24 10:52:56 +00:00
|
|
|
.PHONY: build-fedora
|
|
|
|
build-fedora:
|
2020-12-23 17:55:00 +00:00
|
|
|
@docker buildx build --load -t env-fedora -f Dockerfile.fedora .
|
|
|
|
|
2020-12-24 10:52:56 +00:00
|
|
|
.PHONY: build-ubuntu
|
|
|
|
build-ubuntu:
|
2020-12-23 17:55:00 +00:00
|
|
|
@docker buildx build --load -t env-ubuntu -f Dockerfile.ubuntu .
|
|
|
|
|
2020-12-24 10:52:56 +00:00
|
|
|
.PHONY: build-package-starship
|
|
|
|
build-package-starship:
|
2020-12-23 18:45:44 +00:00
|
|
|
@docker buildx build --load -t starship -f packages/Dockerfile.starship packages/
|
|
|
|
|
2020-12-24 10:52:56 +00:00
|
|
|
.PHONY: build-package-kubectl
|
|
|
|
build-package-kubectl:
|
2020-12-23 18:45:44 +00:00
|
|
|
@docker buildx build --load -t kubectl -f packages/Dockerfile.kubectl packages/
|
|
|
|
|
2020-12-24 10:52:56 +00:00
|
|
|
.PHONY: build-packages
|
|
|
|
build-packages: package-kubectl package-starship
|
2020-12-23 17:55:00 +00:00
|
|
|
|
2020-12-24 10:52:56 +00:00
|
|
|
build: packages fedora ubuntu
|
2020-12-23 17:55:00 +00:00
|
|
|
|
2020-12-24 10:52:56 +00:00
|
|
|
.PHONY: template
|
2020-12-23 21:08:25 +00:00
|
|
|
template:
|
|
|
|
@go run ./main.go template package-action > .github/workflows/packages.yaml
|
|
|
|
@go run ./main.go template ubuntu-action > .github/workflows/ubuntu.yaml
|
|
|
|
@go run ./main.go template fedora-action > .github/workflows/fedora.yaml
|
|
|
|
|
2020-12-24 10:52:56 +00:00
|
|
|
pull:
|
|
|
|
@docker pull ghcr.io/mentos1386/workspace-fedora:edge
|
|
|
|
#@docker pull ghcr.io/mentos1386/workspace-ubuntu:edge
|
|
|
|
@docker pull ghcr.io/mentos1386/starship:0.47.0
|
|
|
|
@docker pull ghcr.io/mentos1386/kubectl:1.20.0
|
|
|
|
|
|
|
|
run-fedora:
|
|
|
|
@docker run -it --rm --workdir /home/tine --user tine ghcr.io/mentos1386/workspace-fedora:edge zsh
|
|
|
|
|