fixes
This commit is contained in:
1 parent
d00906aa7c
commit
ac2094e935
2 files changed
+29
-32
No files matched your search
+29
-30
@@ -173,6 +173,34 @@ RUN \
|
||||
npm i && \
|
||||
npx webpack --mode production
|
||||
|
||||
RUN \
|
||||
rsync -av --progress --delete /root/.config/ /home/${UNAME}/.config/
|
||||
|
||||
RUN \
|
||||
chown -R ${UNAME}:${GNAME} /home/${UNAME}
|
||||
|
||||
USER ${UNAME}
|
||||
|
||||
ENV \
|
||||
GID="1000" \
|
||||
GNAME="neovim" \
|
||||
LANG=en_US.utf8 \
|
||||
NVIM_APPNAME=nvim \
|
||||
NV_DARCULA_APPS="/home/neovim/.local/share/nvim" \
|
||||
NV_DARCULA_ENABLE_COC=${NV_DARCULA_ENABLE_COC} \
|
||||
PATH="/nvim-${NVIM_OS}-${NVIM_ARCH}/bin:/python/bin:/home/neovim/go/bin:/home/neovim/.local/bin:/home/neovim/flutter/bin:/home/neovim/.pub-cache/bin:/usr/bin/core_perl:${PATH}" \
|
||||
PYTHONPATH="/python" \
|
||||
SHELL="/bin/bash" \
|
||||
TMPDIR=/tmp \
|
||||
UID="1000" \
|
||||
UNAME="neovim"
|
||||
|
||||
RUN \
|
||||
curl -fsSL https://cli.kiro.dev/install | bash
|
||||
|
||||
RUN \
|
||||
curl -fsSL https://chatgpt.com/codex/install.sh | bash
|
||||
|
||||
RUN \
|
||||
if [ "$NV_DARCULA_ENABLE_COC" = "true" ]; then \
|
||||
nvim --headless "+CocInstall -sync coc-calc" "+qall" && \
|
||||
@@ -217,33 +245,7 @@ RUN \
|
||||
"+lua vim.defer_fn(function() vim.cmd('qall') end, 60000)"
|
||||
|
||||
RUN \
|
||||
rsync -av --progress --delete /root/.config/ /home/${UNAME}/.config/ && \
|
||||
rsync -av --progress --delete /root/.local/ /home/${UNAME}/.local/
|
||||
|
||||
RUN \
|
||||
chown -R ${UNAME}:${GNAME} /home/${UNAME}
|
||||
|
||||
USER ${UNAME}
|
||||
|
||||
ENV \
|
||||
GID="1000" \
|
||||
GNAME="neovim" \
|
||||
LANG=en_US.utf8 \
|
||||
NVIM_APPNAME=nvim \
|
||||
NV_DARCULA_APPS="/home/neovim/.local/share/nvim" \
|
||||
NV_DARCULA_ENABLE_COC=${NV_DARCULA_ENABLE_COC} \
|
||||
PATH="/nvim-${NVIM_OS}-${NVIM_ARCH}/bin:/python/bin:/home/neovim/go/bin:/home/neovim/.local/bin:/home/neovim/flutter/bin:/home/neovim/.pub-cache/bin:/usr/bin/core_perl:${PATH}" \
|
||||
PYTHONPATH="/python" \
|
||||
SHELL="/bin/bash" \
|
||||
TMPDIR=/tmp \
|
||||
UID="1000" \
|
||||
UNAME="neovim"
|
||||
|
||||
RUN \
|
||||
curl -fsSL https://cli.kiro.dev/install | bash
|
||||
|
||||
RUN \
|
||||
curl -fsSL https://chatgpt.com/codex/install.sh | bash
|
||||
nvim --headless "+MasonToolsInstallSync" "+qall"
|
||||
|
||||
RUN \
|
||||
cd "/home/${UNAME}" && \
|
||||
@@ -253,9 +255,6 @@ RUN \
|
||||
flutter doctor && \
|
||||
flutter pub global activate dart_style
|
||||
|
||||
RUN \
|
||||
nvim --headless "+MasonToolsInstallSync" "+qall"
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
|
||||
# vim:filetype=dockerfile
|
||||
Reference in new issue
Block a user