aboutsummaryrefslogtreecommitdiff
path: root/gnu/system/examples/docker-image.tmpl
blob: ca633cc838c8fcb5975ee3dceac7c28dabb91f39 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
;; This is an operating system configuration template for a "Docker image"
;; setup, so it has barely any services at all.

(use-modules (gnu))

(operating-system
  (host-name "komputilo")
  (timezone "Europe/Berlin")
  (locale "en_US.utf8")

  ;; This is where user accounts are specified.  The "root" account is
  ;; implicit, and is initially created with the empty password.
  (users (cons (user-account
                (name "alice")
                (comment "Bob's sister")
                (group "users")
                (supplementary-groups '("wheel"
                                        "audio" "video")))
               %base-user-accounts))

  ;; Globally-installed packages.
  (packages %base-packages)

  ;; Because the system will run in a Docker container, we may omit many
  ;; things that would normally be required in an operating system
  ;; configuration file.  These things include:
  ;;
  ;;   * bootloader
  ;;   * file-systems
  ;;   * services such as mingetty, udevd, slim, networking, dhcp
  ;;
  ;; Either these things are simply not required, or Docker provides
  ;; similar services for us.

  ;; This will be ignored.
  (bootloader (bootloader-configuration
               (bootloader grub-bootloader)
               (target "does-not-matter")))
  ;; This will be ignored, too.
  (file-systems (list (file-system
                        (device "does-not-matter")
                        (mount-point "/")
                        (type "does-not-matter"))))

  ;; Guix is all you need!
  (services (list (service guix-service-type))))
/span>installer: Mount ESP once only....Ludovic Courtès 2019-05-14installer: Add fat16....Danny Milosavljevic 2019-05-07installer: Add password 'hide' checkbox....Mathieu Othacehe 2019-05-06installer: Shrink simple listboxes to their minimum height....Ludovic Courtès 2019-05-06installer: Do not sort methods on the partitioning page....Ludovic Courtès 2019-05-03installer: Do not sort the guided partition schemes in the selection page....Ludovic Courtès 2019-04-28installer: Improve layout of the partitioning page....Ludovic Courtès 2019-04-27installer: Add missing i18n in the partitioning pages....Ludovic Courtès 2019-04-25installer: Use FLAG-PASSWORD for the encryption passphrase confirmation....Ludovic Courtès 2019-03-27installer: Ask for confirmation before formatting partitions....Ludovic Courtès 2019-01-17installer: Fix manual partitioning....Ludovic Courtès 2019-01-17installer: "formating" → "formatting"....Ludovic Courtès 2019-01-17installer: partition: Add encryption password confirmation....Mathieu Othacehe 2019-01-17installer: Remove debug popup....Mathieu Othacehe 2019-01-17installer: Rename "Ok" buttons to "OK"....Mathieu Othacehe 2019-01-17installer: Various renamins follow-up....Mathieu Othacehe 2019-01-17installer: Various renamings....Mathieu Othacehe 2019-01-17installer: partionment: Add encryption support....Mathieu Othacehe 2019-01-17installer: partition: Fix typo....Mathieu Othacehe 2019-01-17installer: partition: Precise when using Manual/Guided partionment....Mathieu Othacehe 2019-01-17installer: Make sure every sentence is dot terminated....Mathieu Othacehe 2019-01-17installer: partition: Differenciate Back button from Exit button....Mathieu Othacehe 2019-01-17installer: Turn "Cancel" buttons into "Exit" buttons....Mathieu Othacehe 2019-01-17installer: Add partitioning support....Mathieu Othacehe