quality of life changes
This commit is contained in:
parent
8df7e155b2
commit
76eee05637
|
@ -1,4 +1,3 @@
|
|||
# syntax=docker/dockerfile:1
|
||||
FROM ubuntu:20.04 as builder
|
||||
|
||||
WORKDIR /root
|
||||
|
@ -18,6 +17,9 @@ RUN apt-get update && apt-get install -y autoconf automake build-essential cmake
|
|||
|
||||
FROM ubuntu:20.04 as final
|
||||
|
||||
ARG GITEA_REPO="standart"
|
||||
ARG GITEA_USER="lorenzhohermuth"
|
||||
|
||||
ENV PATH="${PATH}:/opt/nvim-linux64/bin"
|
||||
|
||||
WORKDIR /root
|
||||
|
@ -37,11 +39,17 @@ RUN apt-get update && apt-get install -y zsh && \
|
|||
|
||||
#nvim config
|
||||
RUN mkdir .config && cd .config && \
|
||||
git clone https://git.lorenzzz.dev/lorenzhohermuth/nvim.git && pwd
|
||||
git clone https://git.lorenzzz.dev/lorenzhohermuth/nvim.git && \
|
||||
nvim --headless "+Lazy! sync" +qa && \
|
||||
nvim --headless "+:SupermavenUseFree" +qa
|
||||
|
||||
#clone repo
|
||||
#RUN git clone $REPO_URL && echo "cd ${$(basename "$_" .git)}" >> .zshrc
|
||||
RUN git clone https://git.lorenzzz.dev/${GITEA_USER}/${GITEA_REPO}.git && echo "cd ${GITEA_REPO}" >> .zshrc
|
||||
|
||||
COPY --from=builder /root/ttyd/dist/ttyd /usr/bin/ttyd
|
||||
|
||||
EXPOSE 7681
|
||||
|
||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
||||
CMD ttyd -W bash
|
||||
CMD ["ttyd", "-W", "zsh"]
|
||||
|
|
Loading…
Reference in New Issue