mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-17 16:38:18 +00:00
parent
7d0098fd5c
commit
15537ec518
1 changed files with 2 additions and 4 deletions
|
|
@ -20,13 +20,12 @@ ENV DEBIAN_FRONTEND=noninteractive \
|
|||
|
||||
ARG UBUNTU_DEPS="libatomic1 curl wget git net-tools iproute2"
|
||||
ARG RUST_DEPS="build-essential"
|
||||
ARG HASKELL_DEPS="build-essential curl libffi-dev libffi8 libgmp-dev libgmp10 libncurses-dev pkg-config"
|
||||
ARG DEPS="gdb upx-ucl less ffmpeg net-tools netcat-openbsd mc iputils-ping vim bat fzf locales sudo command-not-found ncdu aptitude htop btop hexyl"
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get upgrade -y && \
|
||||
apt-get autoremove && \
|
||||
apt-get install -y ${UBUNTU_DEPS} ${RUST_DEPES} ${DEPS} ${HASKELL_DEPS} && \
|
||||
apt-get install -y ${UBUNTU_DEPS} ${RUST_DEPES} ${DEPS} && \
|
||||
echo "> Update command-not-found database. Run 'sudo apt update' to populate it." && \
|
||||
apt-get update && \
|
||||
apt-get autoremove && \
|
||||
|
|
@ -43,7 +42,7 @@ RUN echo "> install bun" && \
|
|||
echo "> install npm globals" && \
|
||||
bun i palabra wisdom nupdate version-io redrun superc8 supertape madrun redlint putout renamify-cli runny redfork -g && \
|
||||
echo "> install rust go deno bun fasm nvim" && \
|
||||
bun ${BUN_INSTALL}/bin/palabra i nvm node rust go deno fasm nvim rizin yara haskell && \
|
||||
bun ${BUN_INSTALL}/bin/palabra i nvm node rust go deno fasm nvim rizin yara && \
|
||||
echo "> install node" && \
|
||||
. $NVM_DIR/nvm.sh
|
||||
|
||||
|
|
@ -61,7 +60,6 @@ RUN echo "> remove user" && \
|
|||
echo "> configure bash" && \
|
||||
echo "alias ls='ls --color=auto'" >> /etc/bash.bashrc && \
|
||||
echo "alias buni='bun i --no-save'" >> /etc/bash.bashrc && \
|
||||
echo "alias ghci='ghc --interactive'" >> /etc/bash.bashrc && \
|
||||
echo "alias bat='batcat'" >> /etc/bash.bashrc && \
|
||||
echo ". /usr/local/src/nvm/nvm.sh" >> /etc/bash.bashrc && \
|
||||
echo 'PS1="\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ "' >> /etc/bash.bashrc && \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue