feat(images): add minimal image (#216)
Adds a minimal image based on ubuntu 22.04 with bash, git, curl, and sudo.
This commit is contained in:
parent
520f1adf64
commit
33f1f9abd2
|
@ -26,6 +26,9 @@ solid out-of-the-box developer experience:
|
|||
- python3 & pip3
|
||||
- gcc & gcc-c++ & make
|
||||
|
||||
The one exception is the `minimal` image, which contains only bash, curl, git, and
|
||||
sudo.
|
||||
|
||||
## Images on Docker Hub
|
||||
|
||||
Each of these images is also published to Docker Hub under the
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
FROM ubuntu:22.04
|
||||
|
||||
USER root
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends \
|
||||
bash \
|
||||
ca-certificates \
|
||||
curl \
|
||||
git \
|
||||
sudo
|
||||
|
||||
RUN apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN useradd coder \
|
||||
--create-home \
|
||||
--shell=/bin/bash \
|
||||
--uid=1000 \
|
||||
--user-group && \
|
||||
echo "coder ALL=(ALL) NOPASSWD:ALL" >>/etc/sudoers.d/nopasswd
|
||||
|
||||
ENV LANG en_US.UTF-8
|
||||
USER coder
|
|
@ -0,0 +1,11 @@
|
|||
# Minimal Image
|
||||
|
||||
This image only contains the bare necessities:
|
||||
|
||||
- bash
|
||||
- curl
|
||||
- ca-certificates
|
||||
- git
|
||||
- sudo
|
||||
|
||||
It is mainly meant for testing purposes.
|
|
@ -21,6 +21,7 @@ IMAGES=(
|
|||
"clion"
|
||||
"goland"
|
||||
"intellij"
|
||||
"minimal"
|
||||
"jupyter"
|
||||
"pycharm"
|
||||
"webstorm"
|
||||
|
|
Loading…
Reference in New Issue