Advertisement
Guest User

Dockerfile

a guest
Apr 20th, 2023
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 KB | None | 0 0
  1. # build with: docker build -t zsh-test .
  2. # run with: docker run -ti zsh-test
  3. FROM ubuntu:23.04
  4. RUN apt-get update && apt-get install -y zsh curl git git-core gcc make autoconf yodl libncursesw5-dev texinfo bsdmainutils
  5. RUN cd /tmp/ && \
  6. git clone git://zsh.git.sf.net/gitroot/zsh/zsh && \
  7. cd zsh && \
  8. ./Util/preconfig && \
  9. ./configure --prefix=/usr \
  10. --mandir=/usr/share/man \
  11. --bindir=/bin \
  12. --infodir=/usr/share/info \
  13. --enable-maildir-support \
  14. --enable-max-jobtable-size=256 \
  15. --enable-etcdir=/etc/zsh \
  16. --enable-function-subdirs \
  17. --enable-site-fndir=/usr/local/share/zsh/site-functions \
  18. --enable-fndir=/usr/share/zsh/functions \
  19. --with-tcsetpgrp \
  20. --with-term-lib="ncursesw" \
  21. --enable-cap \
  22. --enable-pcre \
  23. --enable-readnullcmd=pager \
  24. --enable-custom-patchlevel=Debian \
  25. LDFLAGS="-Wl,--as-needed -g" && \
  26. make && \
  27. touch Doc/help.txt && make install
  28. RUN sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
  29. RUN mkdir -p /tmp/zsh-test/my-longfoldername-firstname /tmp/zsh-test/you-longfoldername-secondname
  30. WORKDIR /tmp/zsh-test/
  31. CMD zsh
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement