2015-06-05 19:24:11 +02:00
|
|
|
# DESCRIPTION: Create gparted container with its dependencies
|
2016-09-20 00:25:05 +02:00
|
|
|
# AUTHOR: Jessie Frazelle <jess@linux.com>
|
2014-10-19 06:40:41 +02:00
|
|
|
# COMMENTS:
|
2015-06-05 19:24:11 +02:00
|
|
|
# This file describes how to build a gparted container with all
|
2016-09-19 20:06:08 +02:00
|
|
|
# dependencies installed. It uses native X11 unix socket.
|
2015-06-05 19:24:11 +02:00
|
|
|
# Tested on Debian Jessie
|
2014-10-19 06:40:41 +02:00
|
|
|
# USAGE:
|
2015-06-05 19:24:11 +02:00
|
|
|
# # Download gparted Dockerfile
|
2016-10-25 22:37:56 +02:00
|
|
|
# wget https://raw.githubusercontent.com/jessfraz/dockerfiles/master/gparted/Dockerfile
|
2014-10-19 06:40:41 +02:00
|
|
|
#
|
2015-06-05 19:24:11 +02:00
|
|
|
# # Build gparted image
|
|
|
|
# docker build -t gparted .
|
2014-10-19 06:40:41 +02:00
|
|
|
#
|
2015-06-05 19:24:11 +02:00
|
|
|
# docker run -v /tmp/.X11-unix:/tmp/.X11-unix \
|
2015-06-05 20:55:25 +02:00
|
|
|
# --device=/dev/sda:/dev/sda \
|
|
|
|
# -e DISPLAY=unix$DISPLAY gparted
|
2014-10-19 06:40:41 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
# Base docker image
|
2016-09-19 20:31:11 +02:00
|
|
|
FROM debian:stretch
|
2017-03-09 19:14:37 +01:00
|
|
|
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
|
2014-10-19 06:40:41 +02:00
|
|
|
|
|
|
|
# Install Gparted and its dependencies
|
|
|
|
RUN apt-get update && apt-get install -y \
|
2015-06-05 19:24:11 +02:00
|
|
|
dosfstools \
|
|
|
|
gparted \
|
|
|
|
libcanberra-gtk-module \
|
2015-06-07 02:48:44 +02:00
|
|
|
--no-install-recommends \
|
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
2014-10-19 06:40:41 +02:00
|
|
|
|
|
|
|
# Autorun gparted
|
|
|
|
CMD ["/usr/sbin/gparted"]
|