FROM linuxserver/code-server:latest with a new user added and go/python installed as well as sudo*
348
FROM linuxserver/code-server:latest
RUN echo "abc ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/abc &&
apt-get update && apt-get install -y
golang-go python3 python3-pip
gcc g++ make
libsqlite3-dev libssl-dev
wget jq ansible
zip bat eza &&
# Install Helm from the binary
curl -LO "https://get.helm.sh/helm-v3.12.0-linux-amd64.tar.gz" &&
tar -zxvf helm-v3.12.0-linux-amd64.tar.gz &&
mv linux-amd64/helm /usr/local/bin/ &&
rm -rf helm-v3.12.0-linux-amd64.tar.gz linux-amd64 &&
# Clean up to reduce image size
apt-get clean && rm -rf /var/lib/apt/lists/* &&
# Add cron job to run apt update and upgrade daily
echo -e '#!/bin/bash\napt update && apt upgrade -y' | tee /etc/cron.daily/apt-upgrade &&
chmod +x /etc/cron.daily/apt-upgrade
Content type
Image
Digest
sha256:c391c00cc…
Size
534 MB
Last updated
over 1 year ago
docker pull chuckspeed/vscode:arm64