24 lines
520 B
Docker
24 lines
520 B
Docker
|
#
|
||
|
# Ubuntu Dockerfile
|
||
|
#
|
||
|
# https://github.com/dockerfile/ubuntu
|
||
|
#
|
||
|
|
||
|
# Pull base image.
|
||
|
FROM ubuntu:18.04
|
||
|
|
||
|
# Install.
|
||
|
RUN \
|
||
|
sed -i 's/# \(.*multiverse$\)/\1/g' /etc/apt/sources.list && \
|
||
|
apt-get update && \
|
||
|
apt-get install -y git cmake qtbase5-dev build-essential libx11-dev libxtst-dev libgl1-mesa-dev libssl-dev libavahi-compat-libdnssd-dev && \
|
||
|
apt-get install -y debhelper devscripts
|
||
|
|
||
|
# Set environment variables.
|
||
|
ENV HOME /root
|
||
|
|
||
|
# Define working directory.
|
||
|
WORKDIR /root
|
||
|
|
||
|
# Define default command.
|
||
|
CMD ["bash"]
|