config/docker/fish/ubuntu/Dockerfile

16 lines
387 B
Docker

FROM ubuntu:focal
RUN apt-get update --quiet && \
apt-get install --quiet --yes software-properties-common && \
add-apt-repository --yes ppa:fish-shell/release-3 && \
apt-get install --quiet --yes fish
SHELL ["fish", "--command"]
RUN function fish_prompt; echo -n "> "; end; funcsave fish_prompt
RUN set -U fish_greeting ''
ENV SHELL /usr/bin/fish
ENTRYPOINT [ "fish" ]