Sign inSign up

eklum/ubuntu

By eklum

Updated over 5 years ago

Ubuntu 20.04 image with git, hey and cf7-cli.

Image
0

121

eklum/ubuntu repository overview

Dockerfile:

FROM ubuntu:20.04
RUN apt-get update && apt-get -y install \
        sudo \
        wget \
        gnupg \
        git \
        hey

# https://github.com/cloudfoundry/cli/wiki/V7-CLI-Installation-Guide
RUN wget -q -O - https://packages.cloudfoundry.org/debian/cli.cloudfoundry.org.key | apt-key add -
RUN echo "deb https://packages.cloudfoundry.org/debian stable main" | tee /etc/apt/sources.list.d/cloudfoundry-cli.list
RUN apt-get update && apt-get -y install cf7-cli

#https://stackoverflow.com/questions/25845538/how-to-use-sudo-inside-a-docker-container
RUN useradd -m docker && echo "docker:docker" | chpasswd && adduser docker sudo

USER docker
WORKDIR /home/docker
CMD /bin/bash

To run:

docker run -it eklum/ubuntu:20.04

Tag summary

Content type

Image

Digest

Size

97.6 MB

Last updated

over 5 years ago

docker pull eklum/ubuntu:20.04