dockerfiles/gparted/Dockerfile
Jess Frazelle 102da0ff33
update base images
Signed-off-by: Jess Frazelle <me@jessfraz.com>
2016-09-19 11:31:11 -07:00

33 lines
899 B
Docker

# DESCRIPTION: Create gparted container with its dependencies
# AUTHOR: Jessica Frazelle <jess@docker.com>
# COMMENTS:
# This file describes how to build a gparted container with all
# dependencies installed. It uses native X11 unix socket.
# Tested on Debian Jessie
# USAGE:
# # Download gparted Dockerfile
# wget http://raw.githubusercontent.com/jfrazelle/dockerfiles/master/gparted/Dockerfile
#
# # Build gparted image
# docker build -t gparted .
#
# docker run -v /tmp/.X11-unix:/tmp/.X11-unix \
# --device=/dev/sda:/dev/sda \
# -e DISPLAY=unix$DISPLAY gparted
#
# Base docker image
FROM debian:stretch
MAINTAINER Jessica Frazelle <jess@docker.com>
# Install Gparted and its dependencies
RUN apt-get update && apt-get install -y \
dosfstools \
gparted \
libcanberra-gtk-module \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
# Autorun gparted
CMD ["/usr/sbin/gparted"]