File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed
Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 4242 "target" : " /var/run/docker.sock" ,
4343 "type" : " bind"
4444 }
45- ]
45+ ],
46+ "postCreateCommand" : " pants run cmd/greeter_en"
4647}
Original file line number Diff line number Diff line change @@ -6,9 +6,11 @@ RUN apt-get update && \
66 zsh \
77 && rm -rf /var/lib/apt/lists/*
88# install just
9- RUN curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to /usr/local/bin
10- # setup zsh and oh-my-zsh
11- RUN git clone --single-branch --depth 1 https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
12- RUN cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
13- RUN chsh -s /bin/zsh
9+ # install Pants
10+ COPY get-pants.sh /tmp/get-pants.sh
11+ RUN bash /tmp/get-pants.sh --bin-dir /usr/local/bin && \
12+ export PATH="/usr/local/bin:$PATH" && \
13+ git clone --single-branch --depth 1 https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh && \
14+ cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc && \
15+ chsh -s /bin/zsh
1416CMD [ "/bin/zsh" ]
You can’t perform that action at this time.
0 commit comments