Dockerfile 935 B

12345678910111213141516171819202122232425262728293031
  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. # Base docker image
  20. FROM debian:jessie
  21. LABEL maintainer Jessica Frazelle <jess@docker.com>
  22. # Install Gparted and its dependencies
  23. RUN apt-get update && apt-get install -y \
  24. gparted \
  25. libcanberra-gtk-module \
  26. --no-install-recommends
  27. # Autorun gparted
  28. CMD ["/usr/sbin/gparted"]