Dockerfile-debug 962 B

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