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

Experimental opam-slim tag #38

Merged
merged 14 commits into from Nov 23, 2020
Merged

Experimental opam-slim tag #38

merged 14 commits into from Nov 23, 2020

Conversation

amutake
Copy link
Owner

@amutake amutake commented Nov 22, 2020

resolves #36

opam-bin opam-slim tag:

  • has empty opam environment
    • no ocaml compiler
    • no system packages to compile ocaml packages
    • satysfi, satyrographos, and satysfi-dist are installed but their dependencies are not installed
    • each version of satysfi, satyrographos, and satysfi-dist is formed like NAME.VER+bin+HASH
      • so we cannot install satysfi packages that depends on exect version of satysfi, satyrographos, and satysfi-dist
  • is 8x smaller than full
  • is experimental
    • it contains many hacks
    • the tag name may be changed in the future
    • (...and I don't want to maintain this tag because it is too hard to debug)

@amutake
Copy link
Owner Author

amutake commented Nov 22, 2020

opam-bin.sh Outdated Show resolved Hide resolved
@amutake amutake marked this pull request as ready for review November 23, 2020 10:48
@amutake
Copy link
Owner Author

amutake commented Nov 23, 2020

166.21 MB -> 104.48 MB

@amutake amutake changed the title Experimental opam-bin tag Experimental opam-slim tag Nov 23, 2020
@amutake amutake merged commit d3e0fdc into master Nov 23, 2020
@amutake amutake deleted the opam-bin branch November 23, 2020 11:47
@amutake
Copy link
Owner Author

amutake commented Nov 23, 2020

tsukareta

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.

Try using opam-bin to reduce image size of non-slim images
1 participant