Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # build with: docker build -t zsh-test .
- # run with: docker run -ti zsh-test
- FROM ubuntu:23.04
- RUN apt-get update && apt-get install -y zsh curl git git-core gcc make autoconf yodl libncursesw5-dev texinfo bsdmainutils
- RUN cd /tmp/ && \
- git clone git://zsh.git.sf.net/gitroot/zsh/zsh && \
- cd zsh && \
- ./Util/preconfig && \
- ./configure --prefix=/usr \
- --mandir=/usr/share/man \
- --bindir=/bin \
- --infodir=/usr/share/info \
- --enable-maildir-support \
- --enable-max-jobtable-size=256 \
- --enable-etcdir=/etc/zsh \
- --enable-function-subdirs \
- --enable-site-fndir=/usr/local/share/zsh/site-functions \
- --enable-fndir=/usr/share/zsh/functions \
- --with-tcsetpgrp \
- --with-term-lib="ncursesw" \
- --enable-cap \
- --enable-pcre \
- --enable-readnullcmd=pager \
- --enable-custom-patchlevel=Debian \
- LDFLAGS="-Wl,--as-needed -g" && \
- make && \
- touch Doc/help.txt && make install
- RUN sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
- RUN mkdir -p /tmp/zsh-test/my-longfoldername-firstname /tmp/zsh-test/you-longfoldername-secondname
- WORKDIR /tmp/zsh-test/
- CMD zsh
Advertisement
Add Comment
Please, Sign In to add comment