Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create UCM docker image #4920

Draft
wants to merge 3 commits into
base: trunk
Choose a base branch
from
Draft

Create UCM docker image #4920

wants to merge 3 commits into from

Conversation

ChrisPenner
Copy link
Contributor

@ChrisPenner ChrisPenner commented May 7, 2024

Adds a docker image for folks to quickly and easily try UCM without installing it on their machine.

Unfortunately this isn't working for some reason, when I run the image I get:

/usr/local/bin/ucm/ucm: line 2:    15 Killed                  "$(dirname "$0")/unison/unison" --runtime-path "$(dirname "$0")/runtime/bin/unison-runtime" "$@"

Not sure if it's a mac codesigning thing or some other arcane thing.

Uploads to our Github Packages repo here:

https://github.com/unisonweb/unison/pkgs/container/unison

TODO:

Once we're happy with it we need to make the image public, which I may need help to do, here's what I see:

image

Implementation notes

  • Adds a new job which builds and pushes a docker image
  • Call that job from pre-release and release, assigning latest, vx.y.z, and nightly tags as expected
  • It's a multi-platform image, so should work on mac M1

Folks may want to docker run exposing port 8080 so they can use the UI, though I doubt ucm ui will work since xdg-open is in the container.

Test coverage

Nope

Loose ends

@ChrisPenner ChrisPenner force-pushed the cp/test-ucm-docker-image branch 17 times, most recently from 20d1eb6 to b75553d Compare May 7, 2024 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant