mirror of
https://github.com/darlinghq/darling-docker.git
synced 2025-02-19 23:11:45 +00:00
Switch over to GitHub packages as Docker Registry
This commit is contained in:
parent
000694746b
commit
90c17d3bc1
@ -20,7 +20,7 @@ modprobe darling-mach
|
||||
Starting a container:
|
||||
|
||||
```
|
||||
docker run -d --name darling1 darlinghq/darling:latest
|
||||
docker run -d --name darling1 docker.pkg.github.com/darlinghq/darling/darling:latest
|
||||
```
|
||||
|
||||
Now you have a container named `darling1` with `launchd` and various daemons running. You can drop into a shell:
|
||||
@ -44,7 +44,7 @@ First of all, disable authorization on your X11 session by executing `xhost +`.
|
||||
```
|
||||
docker run -d --name darling1 -e DISPLAY \
|
||||
-v /tmp/.X11-unix:/tmp/.X11-unix -v /run/dbus:/run/dbus \
|
||||
-v darlinghq/darling:latest
|
||||
-v docker.pkg.github.com/darlinghq/darling/darling:latest
|
||||
```
|
||||
|
||||
Whether this works or not depends mainly on the compatibility of OpenGL runtimes between the container and the host.
|
||||
|
@ -32,10 +32,13 @@ if not match:
|
||||
|
||||
version = match.group(1)
|
||||
|
||||
tag = "darlinghq/darling:v" + version
|
||||
# tag = "darlinghq/darling:v" + version
|
||||
# Until we have a script that deletes old images
|
||||
# E.g. from here https://gist.github.com/transcranial/be0f8f0d80e464f4032e
|
||||
tag = "docker.pkg.github.com/darlinghq/darling/darling:latest"
|
||||
|
||||
subprocess.run(["docker", "build", "--build-arg", "DARLING_DEB=" + artifactUrl, "-t", tag, "."], check=True)
|
||||
subprocess.run(["docker", "tag", tag, "darlinghq/darling:latest"], check=True)
|
||||
#subprocess.run(["docker", "tag", tag, "darlinghq/darling:latest"], check=True)
|
||||
subprocess.run(["docker", "push", tag])
|
||||
subprocess.run(["docker", "push", "darlinghq/darling:latest"])
|
||||
#subprocess.run(["docker", "push", "darlinghq/darling:latest"])
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user