Merge pull request #151 from sickcodes/docker-osx-kubernetes

Docker OSX Kubernetes
This commit is contained in:
sickcodes 2021-02-12 18:20:36 +00:00 committed by GitHub
commit d6b99ff62e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 47 additions and 9 deletions

View File

@ -54,3 +54,5 @@ These credits refer to the contributors to this repository:
[@prometheas](https://github.com/prometheas) - docs: fix broken multi-line docker command #140
[@MrBenFTW](https://github.com/MrBenFTW) - Tempfix for arch #150

View File

@ -65,11 +65,13 @@ ARG VERSION=10.15.6
ARG RANKMIRRORS
ARG MIRROR_COUNTRY=US
ARG MIRROR_COUNT=10
# TEMP-FIX for pacman issue
RUN patched_glibc=glibc-linux4-2.33-4-x86_64.pkg.tar.zst && \
curl -LO "https://repo.archlinuxcn.org/x86_64/$patched_glibc" && \
bsdtar -C / -xvf "$patched_glibc"
RUN patched_glibc=glibc-linux4-2.33-4-x86_64.pkg.tar.zst \
&& curl -LO "https://raw.githubusercontent.com/sickcodes/Docker-OSX/master/$patched_glibc" \
&& bsdtar -C / -xvf "$patched_glibc"
# TEMP-FIX for pacman issue
RUN if [[ "${RANKMIRRORS}" ]]; then \
{ pacman -Sy wget --noconfirm || pacman -Syu wget --noconfirm ; } \
; wget -O ./rankmirrors "https://raw.githubusercontent.com/sickcodes/Docker-OSX/master/rankmirrors" \

View File

@ -27,6 +27,11 @@ Enquire at https://sick.codes/contact
- Custom images, custom scripts, consulting (per hour available!)
- One-on-one with you, or your development team.
## Kubernetes Support
Kubernetes Helm Chart & Documentation [available at ./helm](https://github.com/sickcodes/Docker-OSX/tree/master/helm)
[![Artifact HUB](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/docker-osx)](https://artifacthub.io/packages/search?repo=docker-osx)
#### Follow [@sickcodes on Twitter](https://twitter.com/sickcodes) for updates or feature requests!

Binary file not shown.

BIN
helm/.DS_Store vendored

Binary file not shown.

View File

@ -1,6 +1,6 @@
apiVersion: v1
appVersion: "0.0.1.0"
description: "Containerized OSX! Run Mac in a pod!"
description: "Containerized OSX! Run OSX in a pod, headlessly, or with Xvfb. Test your Apps and master CI/CD processes."
name: docker-osx
version: 0.1.0
keywords:
@ -8,3 +8,9 @@ keywords:
- mac
- macos
- qemu
- cicd
- ios
- xnu
- darwin
- apple
- osx

View File

@ -1,5 +1,8 @@
# docker-osx
Available now on Artifact HUB
[![Artifact HUB](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/docker-osx)](https://artifacthub.io/packages/search?repo=docker-osx)
## Information
This installs `docker-osx` in Kubernetes.

View File

@ -0,0 +1,5 @@
# Artifact Hub repository metadata file
repositoryID: 7b2e9eeb-620a-43e8-b2cc-24ca33125bfc
owners: # (optional, used to claim repository ownership)
- name: sickcodes
email: info@sick.codes

Binary file not shown.

9
helm/helm-chart-generate.sh Executable file
View File

@ -0,0 +1,9 @@
#!/usr/bin/env bash
# Author: sick.codes
# License: GPLv3+
# Repo: https://github.com/sickcodes/Docker-OSX/
# cd ../helm
rm -f docker-osx-*.tgz
helm package .
helm repo index . --url https://sickcodes.github.io/Docker-OSX/helm/

View File

@ -3,16 +3,22 @@ entries:
docker-osx:
- apiVersion: v1
appVersion: 0.0.1.0
created: "2021-02-11T02:01:36.6644313Z"
description: Containerized OSX! Run Mac in a pod!
digest: 38f0b5d8f77eda7be31e95346b981bff98964a884a3f7bc782a62fdf74880943
created: "2021-02-12T18:10:08.054368621Z"
description: Containerized OSX! Run OSX in a pod, headlessly, or with Xvfb. Test your Apps and master CI/CD processes.
digest: 04e88d78156fa1de709a3dad16558cb8f0bd1c1f0bde8144d530c9a0c143123a
keywords:
- docker-osx
- mac
- macos
- qemu
- cicd
- ios
- xnu
- darwin
- apple
- osx
name: docker-osx
urls:
- https://github.com/sickcodes/Docker-OSX/helm/docker-osx-0.1.0.tgz
- https://sickcodes.github.io/Docker-OSX/helm/docker-osx-0.1.0.tgz
version: 0.1.0
generated: "2021-02-11T02:01:36.663264193Z"
generated: "2021-02-12T18:10:08.053067083Z"