Newer
Older
Dockerfiles / Dockerfile.cockpit
FROM ubuntu:18.04

RUN apt-get update

# Set noninteractive installation
ARG DEBIAN_FRONTEND=noninteractive
ENV TZ=Australia/Brisbane


# Install a shell so we can log in and check the container
RUN apt-get install -y bash


# Install apache
RUN apt-get install -y apache2
RUN systemctl enable apache2

# Install cockpit
RUN apt-get install -y cockpit cockpit-docker
RUN systemctl enable cockpit.socket


# Add a user
adduser jryland