Sign inSign up

bhoult/ubuntu

By bhoult

•Updated almost 8 years ago

Ubuntu 18.04 base image with ssh and a few basic packages installed.

Image
0

957

bhoult/ubuntu repository overview

⁠Pull base image.

FROM ubuntu:18.04

⁠Install.

RUN
apt-get update &&
apt-get -y upgrade &&
apt-get install -y build-essential &&
apt-get install -y software-properties-common apt-utils &&
apt-get install -y wajig sudo openssh-server curl git htop man nano wget

RUN
useradd -m -s /bin/bash admin &&
echo "admin:password" | chpasswd &&
service ssh start && bash &&
wajig clean

⁠Add files.

#ADD root/.bashrc /root/.bashrc #ADD root/.gitconfig /root/.gitconfig #ADD root/.scripts /root/.scripts

⁠Set environment variables.

ENV HOME /root

⁠Define working directory.

WORKDIR /root

⁠Define default command.

#ENTRYPOINT service ssh start && bash CMD ["bash"]

Tag summary

Content type

Image

Digest

Size

176.7 MB

Last updated

almost 8 years ago

docker pull bhoult/ubuntu