Skip to content

sh: 194: cannot open /dev/tty: No such device or address on docker

FROM ubuntu:focal

RUN apt-get update && apt-get install -y build-essential curl \
libffi-dev libffi7 libgmp-dev libgmp10 \
libncurses-dev libncurses5 libtinfo5

RUN sh -c "curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh"

when building this dockerfile, it throws

sh: 194: cannot open /dev/tty: No such device or address

multiple times and in the end it starts throwing this forever in a loop

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information