2014-10-09 16:09:58 -04:00
|
|
|
# VERSION: 0.1
|
|
|
|
# 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
|
2015-03-25 13:38:17 -04:00
|
|
|
# dependencies installed. It uses native X11 unix socket.
|
2014-10-09 16:09:58 -04:00
|
|
|
# Tested on Debian Jessie
|
|
|
|
# USAGE:
|
|
|
|
# # Download gparted Dockerfile
|
|
|
|
# wget http://raw.githubusercontent.com/docker/docker/master/contrib/desktop-integration/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:jessie
|
2017-04-18 17:44:33 -04:00
|
|
|
LABEL maintainer Jessica Frazelle <jess@docker.com>
|
2014-10-09 16:09:58 -04:00
|
|
|
|
|
|
|
# Install Gparted and its dependencies
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
|
|
gparted \
|
|
|
|
libcanberra-gtk-module \
|
|
|
|
--no-install-recommends
|
|
|
|
|
|
|
|
# Autorun gparted
|
|
|
|
CMD ["/usr/sbin/gparted"]
|