FROM ubuntu:focal
RUN useradd -ms /bin/bash -u 1000 -U ubuntu && \
apt-get update && \
export DEBIAN_FRONTEND=noninteractive && \
apt-get install -y --no-install-recommends \
ssh \
python \
software-properties-common && \
add-apt-repository -y ppa:git-core/ppa && \
apt-get update && \
apt-get install -y --no-install-recommends git && \
apt-get remove -y software-properties-common && \
apt-get -y autoremove && \
rm -r /var/lib/apt/lists /var/cache/apt/archives && \
git --version && \
python --version && \
echo $BASH_VERSION
Content type
Image
Digest
Size
70.6 MB
Last updated
almost 6 years ago
docker pull customertimes/ubuntu-git-python:20.04-2.29-2.7