github.com/demonoid81/moby@v0.0.0-20200517203328-62dd8e17c460/contrib/desktop-integration/gparted/Dockerfile (about) 1 # VERSION: 0.1 2 # DESCRIPTION: Create gparted container with its dependencies 3 # AUTHOR: Jessica Frazelle <jess@docker.com> 4 # COMMENTS: 5 # This file describes how to build a gparted container with all 6 # dependencies installed. It uses native X11 unix socket. 7 # Tested on Debian Jessie 8 # USAGE: 9 # # Download gparted Dockerfile 10 # wget http://raw.githubusercontent.com/docker/docker/master/contrib/desktop-integration/gparted/Dockerfile 11 # 12 # # Build gparted image 13 # docker build -t gparted . 14 # 15 # docker run -v /tmp/.X11-unix:/tmp/.X11-unix \ 16 # --device=/dev/sda:/dev/sda \ 17 # -e DISPLAY=unix$DISPLAY gparted 18 # 19 20 # Base docker image 21 FROM debian:jessie 22 LABEL maintainer Jessica Frazelle <jess@docker.com> 23 24 # Install Gparted and its dependencies 25 RUN apt-get update && apt-get install -y \ 26 gparted \ 27 libcanberra-gtk-module \ 28 --no-install-recommends 29 30 # Autorun gparted 31 CMD ["/usr/sbin/gparted"]