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

Error with installer script #954

Closed
glensc opened this issue Aug 22, 2024 · 1 comment · Fixed by #955
Closed

Error with installer script #954

glensc opened this issue Aug 22, 2024 · 1 comment · Fixed by #955
Assignees
Labels
bug 🐛 An issue with the system

Comments

@glensc
Copy link

glensc commented Aug 22, 2024

Maintainer's Note

This only affects Geodesic v3.1.0

Describe the Bug

The install instructions from quick start gave me errors:

$ docker run --rm cloudposse/geodesic:latest-debian init | bash
Inadequate permissions to install to /usr/local/bin. Installing to /Users/glen/.local/bin.
# Installing geodesic from cloudposse/geodesic: -debian...
docker: invalid reference format.
See 'docker run --help'.

# Failed to install geodesic
# If this is not due to file system permissions, please
# check for known issues and consider reporting the failure at
#    https://github.com/cloudposse/geodesic/issues

Steps to Reproduce

  1. Run docker run --rm cloudposse/geodesic:latest-debian init | bash
  2. See error

Additional Context

I've fixed the generated script this way:

--- /tmp/init-v1    2024-08-22 22:17:49
+++ /tmp/init-v2    2024-08-22 22:17:05
@@ -1,6 +1,6 @@
 #!/bin/bash
 export DOCKER_IMAGE="cloudposse/geodesic"
-export DOCKER_TAG="${1:- -debian}"
+export DOCKER_TAG="${1:-latest-debian}"
 export APP_NAME=${APP_NAME:-$(basename $DOCKER_IMAGE)}
 export INSTALL_PATH=${INSTALL_PATH:-/usr/local/bin}
 export SAFE_INSTALL_PATH="$HOME/.local/bin" # per XDG recommendations
@glensc glensc added the bug 🐛 An issue with the system label Aug 22, 2024
@GabisCampana
Copy link

@Nuru

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 An issue with the system
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants