Dockerfile-debug 929 B

1234567891011121314151617181920212223242526272829303132
  1. ARG VERSION
  2. FROM ghcr.io/fishaudio/fish-speech:${VERSION}
  3. ARG TOOLS=" \
  4. git \
  5. curl \
  6. build-essential \
  7. ffmpeg \
  8. libsm6 \
  9. libxext6 \
  10. libjpeg-dev \
  11. zlib1g-dev \
  12. aria2 \
  13. zsh \
  14. openssh-server \
  15. sudo \
  16. protobuf-compiler \
  17. cmake"
  18. RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
  19. --mount=type=cache,target=/var/lib/apt,sharing=locked \
  20. set -ex \
  21. && apt-get update \
  22. && apt-get -y install --no-install-recommends ${TOOLS}
  23. # Install oh-my-zsh so your terminal looks nice
  24. RUN sh -c "$(curl https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" "" --unattended
  25. # Set zsh as default shell
  26. RUN chsh -s /usr/bin/zsh
  27. ENV SHELL=/usr/bin/zsh