dockerfiles/gparted/Dockerfile

33 lines
895 B
Docker
Raw Normal View History

# DESCRIPTION: Create gparted container with its dependencies
# AUTHOR: Jessie Frazelle <jess@linux.com>
2014-10-19 06:40:41 +02:00
# COMMENTS:
# This file describes how to build a gparted container with all
# dependencies installed. It uses native X11 unix socket.
# Tested on Debian Jessie
2014-10-19 06:40:41 +02:00
# USAGE:
# # Download gparted Dockerfile
# wget https://raw.githubusercontent.com/jessfraz/dockerfiles/master/gparted/Dockerfile
2014-10-19 06:40:41 +02:00
#
# # Build gparted image
# docker build -t gparted .
2014-10-19 06:40:41 +02:00
#
# docker run -v /tmp/.X11-unix:/tmp/.X11-unix \
# --device=/dev/sda:/dev/sda \
# -e DISPLAY=unix$DISPLAY gparted
2014-10-19 06:40:41 +02:00
#
# Base docker image
FROM debian:stretch
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 \
dosfstools \
gparted \
libcanberra-gtk-module \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
2014-10-19 06:40:41 +02:00
# Autorun gparted
CMD ["/usr/sbin/gparted"]