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
Install fails on Ubuntu 18.04 and 18.10 #7492
Comments
By console logging I found out it's crashing on this line. FROM ubuntu:18.10
RUN apt update
RUN apt install -y curl zsh git
RUN sh -c "$(curl -fsSL https://raw.githubusercontent.com/sabrehagen/oh-my-zsh/cabf1ef50dd10084d91c2c4e5386821f5bb1be79/tools/install.sh)" docker build -t ubuntu-zsh .
...
Using the Oh My Zsh template file and adding it to ~/.zshrc
before
The command '/bin/sh -c sh -c "$(curl -fsSL https://raw.githubusercontent.com/sabrehagen/oh-my-zsh/cabf1ef50dd10084d91c2c4e5386821f5bb1be79/tools/install.sh)"'
returned a non-zero code: 1 |
Try with the following change to install.sh: # If this user's login shell is not already "zsh", attempt to switch.
- TEST_CURRENT_SHELL=$(expr "$SHELL" : '.*/\(.*\)')
+ TEST_CURRENT_SHELL=$(basename "$SHELL") |
Yes, install succeeds with that change. |
mcornella
pushed a commit
that referenced
this issue
Jan 15, 2019
sgabe
pushed a commit
to sgabe/oh-my-zsh
that referenced
this issue
Feb 12, 2019
atsuya
pushed a commit
to atsuya/oh-my-zsh
that referenced
this issue
Jun 9, 2019
dukegod
pushed a commit
to dukegod/oh-my-zsh
that referenced
this issue
Jul 16, 2019
chihchun
pushed a commit
to chihchun/oh-my-zsh
that referenced
this issue
Aug 6, 2019
sgpthomas
pushed a commit
to sgpthomas/oh-my-zsh
that referenced
this issue
Nov 22, 2019
lewg
pushed a commit
to lewg/oh-my-zsh
that referenced
this issue
Nov 25, 2019
spiliopoulos
pushed a commit
to spiliopoulos/zsh-config
that referenced
this issue
Jun 17, 2020
crdant
referenced
this issue
in crdant/oh-my-zsh-custom
Dec 30, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm finding the oh-my-zsh install script fails with
exit 1
and no error message when installing onubuntu:18.04
andubuntu:18.10
.I've added the command
ENV TERM screen-256color
which silences the following error:
It appears to be non-fatal.
The text was updated successfully, but these errors were encountered: