mirror of
https://github.com/getcompanion-ai/computer-guest.git
synced 2026-04-19 03:03:11 +00:00
fix: upgrade guest kernel to 6.1.155 and neovim to latest via PPA
This commit is contained in:
parent
45d653b96d
commit
f31a4aae35
3 changed files with 8 additions and 1 deletions
|
|
@ -3,7 +3,8 @@ FROM public.ecr.aws/docker/library/ubuntu:24.04
|
||||||
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
ENV EDITOR=nvim \
|
ENV LANG=C.UTF-8 \
|
||||||
|
EDITOR=nvim \
|
||||||
VISUAL=nvim \
|
VISUAL=nvim \
|
||||||
XDG_CONFIG_HOME=/home/node/.config \
|
XDG_CONFIG_HOME=/home/node/.config \
|
||||||
XDG_CACHE_HOME=/home/node/.cache \
|
XDG_CACHE_HOME=/home/node/.cache \
|
||||||
|
|
@ -14,9 +15,11 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
curl \
|
curl \
|
||||||
gnupg \
|
gnupg \
|
||||||
|
software-properties-common \
|
||||||
&& mkdir -p /etc/apt/keyrings \
|
&& mkdir -p /etc/apt/keyrings \
|
||||||
&& curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \
|
&& curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \
|
||||||
&& printf '%s\n' "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_22.x nodistro main" >/etc/apt/sources.list.d/nodesource.list \
|
&& printf '%s\n' "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_22.x nodistro main" >/etc/apt/sources.list.d/nodesource.list \
|
||||||
|
&& add-apt-repository -y ppa:neovim-ppa/unstable \
|
||||||
&& apt-get update \
|
&& apt-get update \
|
||||||
&& apt-get install -y --no-install-recommends \
|
&& apt-get install -y --no-install-recommends \
|
||||||
bat \
|
bat \
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
export LANG="${LANG:-C.UTF-8}"
|
||||||
|
|
||||||
if [ -n "${BASH_VERSION:-}" ] && [ -f "$HOME/.bashrc" ]; then
|
if [ -n "${BASH_VERSION:-}" ] && [ -f "$HOME/.bashrc" ]; then
|
||||||
. "$HOME/.bashrc"
|
. "$HOME/.bashrc"
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
export LANG="${LANG:-C.UTF-8}"
|
||||||
|
|
||||||
HISTFILE="${HOME}/.zsh_history"
|
HISTFILE="${HOME}/.zsh_history"
|
||||||
HISTSIZE=50000
|
HISTSIZE=50000
|
||||||
SAVEHIST=50000
|
SAVEHIST=50000
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue