generated from oci/template
Update Dockerfile
Some checks are pending
Build Docker Image on Commit / build-and-publish (push) Waiting to run
Some checks are pending
Build Docker Image on Commit / build-and-publish (push) Waiting to run
This commit is contained in:
parent
a87ea7d3a1
commit
ca1bd11a38
1 changed files with 34 additions and 1 deletions
35
Dockerfile
35
Dockerfile
|
@ -1 +1,34 @@
|
|||
FROM alpine:3.12
|
||||
FROM codercom/code-server:latest
|
||||
|
||||
USER root
|
||||
|
||||
# Set environment variables
|
||||
ENV DEFAULT_WORKSPACE=/workspace
|
||||
ENV DOCKER_USER=code
|
||||
|
||||
# Define persistent volumes for /home and /workspace
|
||||
VOLUME ["/home", "/workspace"]
|
||||
|
||||
# Install development tools with optimization for minimal package installs
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends \
|
||||
git \
|
||||
curl \
|
||||
wget \
|
||||
vim \
|
||||
zsh \
|
||||
tmux \
|
||||
htop \
|
||||
tree \
|
||||
jq \
|
||||
unzip \
|
||||
zip \
|
||||
gcc \
|
||||
g++ \
|
||||
make \
|
||||
cmake \
|
||||
python3 \
|
||||
python3-pip \
|
||||
python3-venv && \
|
||||
apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
|
Loading…
Reference in a new issue