Skip to content

v0.143.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@cloudpossebot cloudpossebot released this 14 Mar 18:09
· 182 commits to master since this release
1d1f178

🚀 Enhancements

We tried to make this backwards compatible (more to come), but if you have problems with make install or make all, try replacing the install recipe in your Makefile with

install:
	@docker run --rm --env DOCKER_IMAGE --env DOCKER_TAG $(DOCKER_IMAGE_NAME) | bash || (echo "Try: sudo make install"; exit 1)

(Remember that make requires recipes to start with a tab character, not spaces.)

Better user experience when running via docker CLI @Nuru (#692)

what

  • Better user experience when running via docker CLI
  • No change to make install behavior

why

  • Current experience when user naïvely runs Geodesic is that it outputs a script to generate a launch wrapper, which is very confusing
  • Backwards compatibility

examples

run with terminal and volume attached

$ docker run -it --rm -v $HOME:/localhost cloudposse/geodesic:latest

# starts up and runs shell relatively normally, but without 
# some features dependent on wrapper setup

 ⧉  geodesic 
 ✗ . [none] ~ ⨠ 

basic run

$ docker run --rm cloudposse/geodesic:latest
########################################################################################
# Attach a terminal (docker run --rm --it ...) if you want to run a shell.
# Run the following to install a script with that runs 
# Geodesic with all its features (the recommended way to use Geodesic):
#   docker run --rm cloudposse/geodesic:latest-alpine init | bash
# (On a Linux workstation, you might need to use "sudo bash" instead of just "bash")
########################################################################################

run with terminal attached

$ docker run -it --rm cloudposse/geodesic:latest
########################################################################################
* No filesystem is mounted at /localhost which limits Geodesic functionality.
# EXIT THIS SHELL and on your host computer,
# Run the following to install a script with that runs 
# Geodesic with all its features (the recommended way to use Geodesic):
#   docker run --rm cloudposse/geodesic:latest-alpine init | bash
# (On a Linux workstation, you might need to use "sudo bash" instead of just "bash")
########################################################################################


Disabling user customizations: GEODESIC_CUSTOMIZATION_DISABLED is '/localhost not a volume'

...

 ⧉  geodesic 
 ✗ . [none] ~ ⨠