docksal / boilerplate-drupal8

[ARCHIVED] Drupal 8 boilerplate project powered by Docksal
https://docksal.io
68 stars 60 forks source link

Support other installation systems #20

Closed ikit-claw closed 6 years ago

ikit-claw commented 6 years ago

Any chance this is going to consider other Linux OS? I am looking for a way to setup on Arch Linux

achekulaev commented 6 years ago

This question should better be posted into https://github.com/docksal/docksal.

You can create a ticket to request support for Arch Linux, but it's going to be pretty low in the priority list.

Arch linux should work mostly fine actually. It is only that DNS might now work as expected (meaning that when you visit something.docksal you are not properly routed). We do it via /etc/network/interfaces/.

    up   ip addr add ${DOCKSAL_DEFAULT_SUBNET} dev lo label lo:docksal
    down ip addr del ${DOCKSAL_DEFAULT_SUBNET} dev lo label lo:docksal
    dns-nameservers ${DOCKSAL_DEFAULT_IP}

But if you could figure out a proper way to configure DNS on Arch we could append it's support.

Also you could just use fin hosts command or manually add lines to /etc/hosts to associate yourproject.docksal with 192.168.64.100. That would be an awkward workaround though.

ikit-claw commented 6 years ago

@achekulaev do you have a curl installation option? Currently, it just goes not ubuntu sorry. Stops installation.

lmakarov commented 6 years ago

@ikit-claw there are multiple things that get installed and configured during Docksal installation:

  1. fin (the control utility for Docksal)
  2. Docksal stack files (docker-compose configs)
  3. Docker daemon
  4. Docker binaries (docker, docker-compose, docker-machine)
  5. Additional packages to perform network configuration/etc.
  6. Network configuration - 192.168.100.1 subnet aliases to lo, 192.168.64.100 configured as DNS
  7. Launch Docksal system containers

The bulk of that (for Ubuntu) is here and here.

Technically, it is possible to install all or some of it manually, but that's a lot of work.

Number 6 in the list above is the biggest hurdle and the reason we only support Ubuntu officially. Number 7 depends on 6, as 6 is invoked when system services are installed/reset.

achekulaev commented 6 years ago

Oh sorry! I thought we were talking Mint, my bad. Arch is not even dpkg based. Yes it's hella lot of work to support it.

ikit-claw commented 6 years ago

That is a shame guess I will stick with DDEV thanks for getting back to me.